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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007696/0.007696, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001622/0.001623, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.878/2.878, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 64.12 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3827, allocations: 157.4 MB / 1.208 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.136/1.518, allocations: 261.9 MB / 1.464 GB, free: 0.832 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02161/1.54, allocations: 19.12 MB / 1.482 GB, free: 13.65 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/1.542, allocations: 47.75 kB / 1.482 GB, free: 13.6 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001975/1.544, allocations: 0.7686 MB / 1.483 GB, free: 12.83 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004516/1.549, allocations: 1.9 MB / 1.485 GB, free: 10.92 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003481/1.553, allocations: 1.484 MB / 1.486 GB, free: 9.441 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003504/1.556, allocations: 3.089 MB / 1.489 GB, free: 6.344 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/1.558, allocations: 1.238 MB / 1.491 GB, free: 5.086 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007958/1.566, allocations: 3.278 MB / 1.494 GB, free: 1.805 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/1.567, allocations: 0.9881 MB / 1.495 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003035/1.568, allocations: 104 kB / 1.495 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/1.571, allocations: 1.528 MB / 1.496 GB, free: 15.18 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005443/1.571, allocations: 434.6 kB / 1.497 GB, free: 14.75 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/1.573, allocations: 0.6998 MB / 1.497 GB, free: 14.05 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003965/1.577, allocations: 2.052 MB / 1.499 GB, free: 11.99 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.577, allocations: 0 / 1.499 GB, free: 11.99 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.694e-06/1.577, allocations: 0 / 1.499 GB, free: 11.99 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.887e-05/1.577, allocations: 0 / 1.499 GB, free: 11.99 MB / 1.186 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.00293/1.58, allocations: 1.592 MB / 1.501 GB, free: 10.35 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.58, allocations: 8.625 kB / 1.501 GB, free: 10.34 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/1.581, allocations: 282 kB / 1.501 GB, free: 10.06 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/1.583, allocations: 0.8701 MB / 1.502 GB, free: 9.148 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.107e-05/1.583, allocations: 74 kB / 1.502 GB, free: 9.074 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/1.584, allocations: 95.94 kB / 1.502 GB, free: 8.98 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/1.585, allocations: 1.003 MB / 1.503 GB, free: 7.914 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/1.585, allocations: 7.938 kB / 1.503 GB, free: 7.906 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/1.585, allocations: 39.98 kB / 1.503 GB, free: 7.867 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/1.585, allocations: 24 kB / 1.503 GB, free: 7.844 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/1.586, allocations: 0.644 MB / 1.504 GB, free: 7.199 MB / 1.186 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.004826/1.591, allocations: 4.696 MB / 1.508 GB, free: 2.168 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/1.592, allocations: 251.8 kB / 1.509 GB, free: 1.914 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/1.592, allocations: 132.8 kB / 1.509 GB, free: 1.781 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/1.592, allocations: 307.2 kB / 1.509 GB, free: 1.426 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/1.593, allocations: 42.48 kB / 1.509 GB, free: 1.375 MB / 1.186 GB Notification: Performance of pre-optimization done (n=29): time 1.913e-06/1.593, allocations: 0 / 1.509 GB, free: 1.375 MB / 1.186 GB Notification: Performance of matching and sorting (n=29): time 0.0009944/1.594, allocations: 482.1 kB / 1.51 GB, free: 0.8984 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/1.594, allocations: 55.41 kB / 1.51 GB, free: 0.832 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/1.595, allocations: 1.107 MB / 1.511 GB, free: 15.71 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/1.595, allocations: 37.64 kB / 1.511 GB, free: 15.67 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/1.596, allocations: 0.5857 MB / 1.511 GB, free: 15.08 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/1.596, allocations: 114.4 kB / 1.511 GB, free: 14.97 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/1.596, allocations: 114.1 kB / 1.512 GB, free: 14.85 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.596, allocations: 330 kB / 1.512 GB, free: 14.52 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/1.596, allocations: 147 kB / 1.512 GB, free: 14.38 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/1.597, allocations: 431.8 kB / 1.512 GB, free: 13.83 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006584/1.597, allocations: 0.5316 MB / 1.513 GB, free: 13.2 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/1.597, allocations: 7.984 kB / 1.513 GB, free: 13.19 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001021/1.598, allocations: 0.6247 MB / 1.514 GB, free: 12.55 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.598, allocations: 11.94 kB / 1.514 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.598, allocations: 8 kB / 1.514 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/1.598, allocations: 12 kB / 1.514 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008819/1.599, allocations: 183.6 kB / 1.514 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/1.601, allocations: 2.356 MB / 1.516 GB, free: 9.898 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/1.601, allocations: 86.97 kB / 1.516 GB, free: 9.812 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/1.601, allocations: 31.98 kB / 1.516 GB, free: 9.781 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005508/1.602, allocations: 369.9 kB / 1.517 GB, free: 9.418 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004105/1.602, allocations: 429.5 kB / 1.517 GB, free: 8.871 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006116/1.603, allocations: 0.5263 MB / 1.517 GB, free: 8.242 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.438e-06/1.603, allocations: 0 / 1.517 GB, free: 8.242 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0009659/1.604, allocations: 0.6103 MB / 1.518 GB, free: 7.625 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.604, allocations: 8 kB / 1.518 GB, free: 7.617 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.604, allocations: 8 kB / 1.518 GB, free: 7.609 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/1.604, allocations: 15.94 kB / 1.518 GB, free: 7.594 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/1.604, allocations: 128.3 kB / 1.518 GB, free: 7.469 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/1.604, allocations: 19.94 kB / 1.518 GB, free: 7.449 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006403/1.605, allocations: 55.58 kB / 1.518 GB, free: 7.395 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/1.605, allocations: 28.12 kB / 1.518 GB, free: 7.367 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (67): * Single equations (assignments): 63 * 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.0001848/1.605, allocations: 220 kB / 1.519 GB, free: 7.145 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/1.606, allocations: 114.6 kB / 1.519 GB, free: 7.031 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/1.606, allocations: 417.1 kB / 1.519 GB, free: 6.617 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/1.606, allocations: 0 / 1.519 GB, free: 6.617 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.606, allocations: 4 kB / 1.519 GB, free: 6.613 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/1.606, allocations: 3.984 kB / 1.519 GB, free: 6.609 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/1.608, allocations: 1.294 MB / 1.52 GB, free: 5.234 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.608, allocations: 4 kB / 1.52 GB, free: 5.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/1.609, allocations: 91.81 kB / 1.52 GB, free: 5.141 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.609, allocations: 4 kB / 1.52 GB, free: 5.137 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/1.609, allocations: 12.3 kB / 1.52 GB, free: 5.125 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/1.61, allocations: 2.348 MB / 1.523 GB, free: 2.684 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.61, allocations: 4 kB / 1.523 GB, free: 2.68 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007895/1.611, allocations: 0.6641 MB / 1.523 GB, free: 1.969 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/1.611, allocations: 223.7 kB / 1.524 GB, free: 1.73 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/1.611, allocations: 8 kB / 1.524 GB, free: 1.723 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/1.612, allocations: 19.94 kB / 1.524 GB, free: 1.703 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/1.612, allocations: 31.84 kB / 1.524 GB, free: 1.672 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/1.612, allocations: 8 kB / 1.524 GB, free: 1.664 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009616/1.613, allocations: 0.7454 MB / 1.524 GB, free: 0.9141 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.7e-07/1.613, allocations: 0 / 1.524 GB, free: 0.9141 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001299/1.614, allocations: 495.1 kB / 1.525 GB, free: 440 kB / 1.201 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.0004842/1.614, allocations: 207.5 kB / 1.525 GB, free: 236 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001596/1.616, allocations: 0.6707 MB / 1.526 GB, free: 15.56 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.616, allocations: 3.938 kB / 1.526 GB, free: 15.56 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003683/1.616, allocations: 169.9 kB / 1.526 GB, free: 15.39 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/1.619, allocations: 0.618 MB / 1.526 GB, free: 14.79 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/1.622, allocations: 1.857 MB / 1.528 GB, free: 12.86 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006666/1.623, allocations: 1.115 MB / 1.529 GB, free: 11.72 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008064/1.624, allocations: 245.6 kB / 1.53 GB, free: 11.48 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/1.624, allocations: 67.44 kB / 1.53 GB, free: 11.41 MB / 1.217 GB Notification: Performance of SimCode: time 3.61e-07/1.624, allocations: 4 kB / 1.53 GB, free: 11.41 MB / 1.217 GB Notification: Performance of Templates: time 0.03221/1.656, allocations: 19.85 MB / 1.549 GB, free: 7.836 MB / 1.232 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