Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001876/0.001876, allocations: 103.4 kB / 16.4 MB, free: 6.012 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.001992/0.001992, allocations: 189.2 kB / 17.34 MB, free: 5.629 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.544/1.544, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.712/2.712, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.91 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241/1.243, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.431/1.674, allocations: 261.9 MB / 1.423 GB, free: 13.01 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02912/1.704, allocations: 19.12 MB / 1.442 GB, free: 9.828 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00289/1.707, allocations: 51.69 kB / 1.442 GB, free: 9.777 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.003055/1.71, allocations: 0.7686 MB / 1.443 GB, free: 9.004 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006792/1.716, allocations: 1.896 MB / 1.444 GB, free: 7.102 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005271/1.722, allocations: 1.477 MB / 1.446 GB, free: 5.625 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006155/1.728, allocations: 3.101 MB / 1.449 GB, free: 2.512 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00265/1.731, allocations: 1.238 MB / 1.45 GB, free: 1.25 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01103/1.742, allocations: 3.288 MB / 1.453 GB, free: 13.96 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002571/1.744, allocations: 0.9842 MB / 1.454 GB, free: 12.96 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002424/1.745, allocations: 108 kB / 1.454 GB, free: 12.86 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003917/1.749, allocations: 1.52 MB / 1.456 GB, free: 11.34 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000599/1.749, allocations: 414.7 kB / 1.456 GB, free: 10.93 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001383/1.751, allocations: 0.7037 MB / 1.457 GB, free: 10.22 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004214/1.755, allocations: 2.055 MB / 1.459 GB, free: 8.16 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.755, allocations: 0 / 1.459 GB, free: 8.16 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.154e-06/1.755, allocations: 0 / 1.459 GB, free: 8.16 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.681e-05/1.755, allocations: 4 kB / 1.459 GB, free: 8.156 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.00285/1.758, allocations: 1.614 MB / 1.46 GB, free: 6.484 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.758, allocations: 12.88 kB / 1.46 GB, free: 6.473 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/1.759, allocations: 290.9 kB / 1.461 GB, free: 6.188 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/1.761, allocations: 0.875 MB / 1.462 GB, free: 5.27 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.138e-05/1.761, allocations: 74 kB / 1.462 GB, free: 5.199 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/1.761, allocations: 92 kB / 1.462 GB, free: 5.109 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/1.763, allocations: 1.003 MB / 1.463 GB, free: 4.039 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/1.763, allocations: 11.94 kB / 1.463 GB, free: 4.027 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.863e-05/1.763, allocations: 36 kB / 1.463 GB, free: 3.992 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/1.763, allocations: 24 kB / 1.463 GB, free: 3.969 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/1.764, allocations: 0.6478 MB / 1.463 GB, free: 3.324 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.005486/1.769, allocations: 4.702 MB / 1.468 GB, free: 14.29 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/1.77, allocations: 255.3 kB / 1.468 GB, free: 14.03 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/1.77, allocations: 124.8 kB / 1.468 GB, free: 13.91 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006362/1.771, allocations: 311.2 kB / 1.469 GB, free: 13.55 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/1.771, allocations: 34.56 kB / 1.469 GB, free: 13.5 MB / 1.201 GB Notification: Performance of pre-optimization done (n=29): time 3.026e-06/1.771, allocations: 0 / 1.469 GB, free: 13.5 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.001107/1.772, allocations: 496.7 kB / 1.469 GB, free: 13.01 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/1.772, allocations: 59.34 kB / 1.469 GB, free: 12.94 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/1.774, allocations: 1.083 MB / 1.47 GB, free: 11.85 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/1.774, allocations: 33.7 kB / 1.47 GB, free: 11.81 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005764/1.774, allocations: 0.5982 MB / 1.471 GB, free: 11.21 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/1.774, allocations: 111.1 kB / 1.471 GB, free: 11.1 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/1.775, allocations: 118.2 kB / 1.471 GB, free: 10.98 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.775, allocations: 330 kB / 1.471 GB, free: 10.65 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/1.775, allocations: 143 kB / 1.472 GB, free: 10.51 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/1.776, allocations: 429.3 kB / 1.472 GB, free: 9.961 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000772/1.776, allocations: 0.5352 MB / 1.473 GB, free: 9.324 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/1.776, allocations: 4 kB / 1.473 GB, free: 9.32 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001114/1.777, allocations: 0.6252 MB / 1.473 GB, free: 8.688 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/1.778, allocations: 11.94 kB / 1.473 GB, free: 8.676 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/1.778, allocations: 8 kB / 1.473 GB, free: 8.668 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/1.778, allocations: 12 kB / 1.473 GB, free: 8.656 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009253/1.779, allocations: 184.5 kB / 1.473 GB, free: 8.477 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/1.78, allocations: 2.356 MB / 1.476 GB, free: 6.027 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007034/1.781, allocations: 87.3 kB / 1.476 GB, free: 5.941 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/1.781, allocations: 35.98 kB / 1.476 GB, free: 5.906 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006602/1.782, allocations: 369.1 kB / 1.476 GB, free: 5.543 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005335/1.782, allocations: 425.7 kB / 1.477 GB, free: 5 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007252/1.783, allocations: 0.5219 MB / 1.477 GB, free: 4.375 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/1.783, allocations: 7.938 kB / 1.477 GB, free: 4.367 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001039/1.784, allocations: 0.623 MB / 1.478 GB, free: 3.738 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.784, allocations: 14.66 kB / 1.478 GB, free: 3.727 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.784, allocations: 4 kB / 1.478 GB, free: 3.723 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.784, allocations: 12 kB / 1.478 GB, free: 3.711 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/1.785, allocations: 128.5 kB / 1.478 GB, free: 3.586 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/1.785, allocations: 15.94 kB / 1.478 GB, free: 3.57 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/1.785, allocations: 51.83 kB / 1.478 GB, free: 3.52 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/1.785, allocations: 32 kB / 1.478 GB, free: 3.488 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.0002285/1.785, allocations: 220 kB / 1.478 GB, free: 3.266 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/1.786, allocations: 127.1 kB / 1.478 GB, free: 3.141 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008785/1.786, allocations: 413 kB / 1.479 GB, free: 2.727 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.786, allocations: 4 kB / 1.479 GB, free: 2.723 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.786, allocations: 3.938 kB / 1.479 GB, free: 2.719 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/1.787, allocations: 0 / 1.479 GB, free: 2.719 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/1.789, allocations: 1.291 MB / 1.48 GB, free: 1.344 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/1.789, allocations: 4 kB / 1.48 GB, free: 1.34 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/1.789, allocations: 83.88 kB / 1.48 GB, free: 1.258 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/1.789, allocations: 4 kB / 1.48 GB, free: 1.254 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/1.789, allocations: 16.31 kB / 1.48 GB, free: 1.238 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/1.791, allocations: 2.344 MB / 1.482 GB, free: 14.8 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.791, allocations: 3.938 kB / 1.482 GB, free: 14.8 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/1.792, allocations: 0.6739 MB / 1.483 GB, free: 14.08 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/1.792, allocations: 224.2 kB / 1.483 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/1.792, allocations: 12 kB / 1.483 GB, free: 13.83 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/1.793, allocations: 12 kB / 1.483 GB, free: 13.82 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/1.793, allocations: 23.97 kB / 1.483 GB, free: 13.79 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/1.793, allocations: 12 kB / 1.483 GB, free: 13.78 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00112/1.794, allocations: 0.7409 MB / 1.484 GB, free: 13.04 MB / 1.217 GB Notification: Performance of sort global known variables: time 3.31e-07/1.794, allocations: 0 / 1.484 GB, free: 13.04 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001455/1.795, allocations: 499.2 kB / 1.484 GB, free: 12.55 MB / 1.217 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.0005753/1.796, allocations: 210 kB / 1.485 GB, free: 12.34 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001834/1.798, allocations: 0.6815 MB / 1.485 GB, free: 11.66 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.798, allocations: 4 kB / 1.485 GB, free: 11.66 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003969/1.798, allocations: 174 kB / 1.485 GB, free: 11.49 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/1.801, allocations: 0.5805 MB / 1.486 GB, free: 10.92 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/1.805, allocations: 1.87 MB / 1.488 GB, free: 8.988 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009028/1.805, allocations: 1.103 MB / 1.489 GB, free: 7.855 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008606/1.806, allocations: 245.4 kB / 1.489 GB, free: 7.613 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/1.807, allocations: 75.44 kB / 1.489 GB, free: 7.539 MB / 1.217 GB Notification: Performance of SimCode: time 8.81e-07/1.807, allocations: 0 / 1.489 GB, free: 7.539 MB / 1.217 GB Notification: Performance of Templates: time 0.04123/1.848, allocations: 19.5 MB / 1.508 GB, free: 4.32 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Templates.Components.Validation.Sensors.makefile (rm -f Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_10_Buildings.Templates.Components.Validation.Sensors.sim & ./Buildings_10_Buildings.Templates.Components.Validation.Sensors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Templates.Components.Validation.Sensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Templates_Components_Validation_Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches