Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.y|dp.senRelPre.p_rel|hum.y|hum.toDryAir.XiDry|ent.y|ent.senSpeEnt.h_out|tem.y|tem.senTem.T|vol.y|vol.senVolFlo.V_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Sensors") translateModel(Buildings.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.y|dp.senRelPre.p_rel|hum.y|hum.toDryAir.XiDry|ent.y|ent.senSpeEnt.h_out|tem.y|tem.senTem.T|vol.y|vol.senVolFlo.V_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 192.3 kB / 16.13 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.015/3.015, allocations: 472.7 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 72.25 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4368, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.06/1.497, allocations: 259.9 MB / 1.321 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02457/1.522, allocations: 19.22 MB / 1.34 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003765/1.526, allocations: 44.06 kB / 1.34 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002622/1.528, allocations: 0.6136 MB / 1.341 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007441/1.536, allocations: 1.714 MB / 1.342 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007457/1.543, allocations: 1.3 MB / 1.344 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009194/1.553, allocations: 4.535 MB / 1.348 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002553/1.555, allocations: 1.004 MB / 1.349 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009261/1.564, allocations: 2.934 MB / 1.352 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002128/1.567, allocations: 1.036 MB / 1.353 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/1.567, allocations: 66.38 kB / 1.353 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/1.571, allocations: 1.724 MB / 1.355 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003986/1.571, allocations: 388 kB / 1.355 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008611/1.572, allocations: 0.669 MB / 1.356 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003039/1.575, allocations: 2.095 MB / 1.358 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.575, allocations: 3.359 kB / 1.358 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.273e-06/1.575, allocations: 0 / 1.358 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.315e-05/1.575, allocations: 0 / 1.358 GB, free: 2.289 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002629/1.578, allocations: 1.596 MB / 1.359 GB, free: 17.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/1.578, allocations: 10.78 kB / 1.359 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/1.579, allocations: 284.4 kB / 1.36 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/1.58, allocations: 0.8331 MB / 1.36 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/1.58, allocations: 69.53 kB / 1.36 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/1.581, allocations: 95.94 kB / 1.361 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/1.582, allocations: 0.9828 MB / 1.362 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/1.582, allocations: 4.438 kB / 1.362 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.446e-05/1.582, allocations: 36.78 kB / 1.362 GB, free: 16.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/1.582, allocations: 27.81 kB / 1.362 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009924/1.583, allocations: 0.6416 MB / 1.362 GB, free: 15.87 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005285/1.588, allocations: 4.378 MB / 1.367 GB, free: 12.56 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/1.589, allocations: 250.4 kB / 1.367 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/1.589, allocations: 137 kB / 1.367 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006213/1.59, allocations: 305.8 kB / 1.367 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/1.59, allocations: 37.94 kB / 1.367 GB, free: 12.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 1.954e-06/1.59, allocations: 0 / 1.367 GB, free: 12.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.001032/1.591, allocations: 483.8 kB / 1.368 GB, free: 11.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/1.591, allocations: 55.75 kB / 1.368 GB, free: 11.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/1.592, allocations: 1.083 MB / 1.369 GB, free: 11.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/1.592, allocations: 32.89 kB / 1.369 GB, free: 11.36 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005227/1.593, allocations: 0.5892 MB / 1.369 GB, free: 10.9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/1.593, allocations: 108.3 kB / 1.369 GB, free: 10.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/1.593, allocations: 107.4 kB / 1.37 GB, free: 10.76 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001491/1.593, allocations: 328.5 kB / 1.37 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/1.594, allocations: 143.8 kB / 1.37 GB, free: 10.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/1.594, allocations: 406.6 kB / 1.37 GB, free: 10.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/1.595, allocations: 0.5025 MB / 1.371 GB, free: 9.637 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.595, allocations: 2.375 kB / 1.371 GB, free: 9.637 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009205/1.596, allocations: 0.5869 MB / 1.371 GB, free: 9.418 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.596, allocations: 9.5 kB / 1.372 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.596, allocations: 6.25 kB / 1.372 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/1.596, allocations: 10.84 kB / 1.372 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008577/1.597, allocations: 173.4 kB / 1.372 GB, free: 9.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/1.598, allocations: 2.36 MB / 1.374 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000926/1.599, allocations: 121.3 kB / 1.374 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/1.599, allocations: 27.75 kB / 1.374 GB, free: 6.977 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000582/1.6, allocations: 361.9 kB / 1.374 GB, free: 6.785 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000431/1.6, allocations: 395.8 kB / 1.375 GB, free: 6.418 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006084/1.601, allocations: 0.4927 MB / 1.375 GB, free: 6.043 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/1.601, allocations: 6.094 kB / 1.375 GB, free: 6.039 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization_lambda0): time 0.0009212/1.602, allocations: 0.5938 MB / 1.376 GB, free: 5.816 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.602, allocations: 11.42 kB / 1.376 GB, free: 5.812 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.602, allocations: 7.969 kB / 1.376 GB, free: 5.812 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/1.602, allocations: 10.19 kB / 1.376 GB, free: 5.812 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/1.602, allocations: 116.3 kB / 1.376 GB, free: 5.809 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.602, allocations: 13.12 kB / 1.376 GB, free: 5.809 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007984/1.603, allocations: 81.06 kB / 1.376 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/1.603, allocations: 30.38 kB / 1.376 GB, free: 5.773 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002019/1.603, allocations: 220 kB / 1.376 GB, free: 5.574 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/1.603, allocations: 122.3 kB / 1.377 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007728/1.604, allocations: 411 kB / 1.377 GB, free: 5.32 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/1.604, allocations: 8.75 kB / 1.377 GB, free: 5.316 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/1.604, allocations: 3.141 kB / 1.377 GB, free: 5.316 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/1.604, allocations: 0 / 1.377 GB, free: 5.316 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/1.606, allocations: 1.31 MB / 1.378 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.606, allocations: 1.906 kB / 1.378 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/1.607, allocations: 84.09 kB / 1.378 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/1.607, allocations: 6.141 kB / 1.378 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/1.607, allocations: 8.812 kB / 1.378 GB, free: 4.605 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/1.608, allocations: 2.348 MB / 1.381 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/1.608, allocations: 5.516 kB / 1.381 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009068/1.609, allocations: 0.6587 MB / 1.381 GB, free: 1.828 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/1.609, allocations: 221.6 kB / 1.381 GB, free: 1.652 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/1.61, allocations: 8.875 kB / 1.381 GB, free: 1.648 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004534/1.61, allocations: 46.14 kB / 1.381 GB, free: 1.637 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/1.61, allocations: 36.7 kB / 1.382 GB, free: 1.625 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/1.61, allocations: 8.156 kB / 1.382 GB, free: 1.625 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000967/1.611, allocations: 0.7455 MB / 1.382 GB, free: 1.328 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.611, allocations: 0 / 1.382 GB, free: 1.328 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001348/1.613, allocations: 484.9 kB / 1.383 GB, free: 1.254 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (hum.senMasFra.X,ent.senSpeEnt.h_out,tem.senTem.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005244/1.613, allocations: 224 kB / 1.383 GB, free: 1.129 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001641/1.615, allocations: 0.6395 MB / 1.384 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.615, allocations: 0 / 1.384 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003547/1.615, allocations: 168.8 kB / 1.384 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/1.618, allocations: 0.5979 MB / 1.384 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/1.621, allocations: 2.237 MB / 1.386 GB, free: 15.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007547/1.622, allocations: 1.118 MB / 1.388 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001013/1.623, allocations: 242 kB / 1.388 GB, free: 14.08 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/1.623, allocations: 71 kB / 1.388 GB, free: 14.07 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/1.623, allocations: 0 / 1.388 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Templates: time 0.03537/1.658, allocations: 18.85 MB / 1.406 GB, free: 3.586 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.makefile (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Sensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches