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.001573/0.001573, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001824, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.589/1.589, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.006/3.006, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.27 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3966, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.077/1.474, allocations: 261.9 MB / 1.324 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02491/1.499, allocations: 19.13 MB / 1.343 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002969/1.502, allocations: 47.38 kB / 1.343 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002796/1.504, allocations: 0.7484 MB / 1.343 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006168/1.511, allocations: 1.812 MB / 1.345 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005034/1.516, allocations: 1.46 MB / 1.347 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00504/1.521, allocations: 3.078 MB / 1.35 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/1.523, allocations: 1.235 MB / 1.351 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009306/1.532, allocations: 3.175 MB / 1.354 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002329/1.535, allocations: 0.9932 MB / 1.355 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002505/1.535, allocations: 99.25 kB / 1.355 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004013/1.539, allocations: 1.52 MB / 1.356 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006325/1.54, allocations: 425.7 kB / 1.357 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001755/1.541, allocations: 0.7045 MB / 1.358 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004348/1.546, allocations: 2.028 MB / 1.36 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.546, allocations: 0 / 1.36 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.345e-06/1.546, allocations: 0 / 1.36 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.25e-05/1.546, allocations: 3.938 kB / 1.36 GB, free: 2.309 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.002784/1.549, allocations: 1.594 MB / 1.361 GB, free: 17.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/1.549, allocations: 10.47 kB / 1.361 GB, free: 17.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/1.55, allocations: 279.8 kB / 1.361 GB, free: 17.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/1.552, allocations: 0.8296 MB / 1.362 GB, free: 16.67 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.582e-05/1.552, allocations: 73.47 kB / 1.362 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/1.552, allocations: 91.59 kB / 1.362 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/1.553, allocations: 0.9998 MB / 1.363 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/1.553, allocations: 5.938 kB / 1.363 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.268e-05/1.553, allocations: 42.12 kB / 1.363 GB, free: 16.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/1.553, allocations: 20.81 kB / 1.363 GB, free: 16.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009893/1.554, allocations: 0.6501 MB / 1.364 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.004922/1.559, allocations: 4.727 MB / 1.369 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/1.56, allocations: 256.8 kB / 1.369 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/1.56, allocations: 134.6 kB / 1.369 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006001/1.561, allocations: 308.3 kB / 1.369 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/1.561, allocations: 33.97 kB / 1.369 GB, free: 11.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 2.174e-06/1.561, allocations: 0 / 1.369 GB, free: 11.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.000987/1.562, allocations: 483.8 kB / 1.37 GB, free: 11.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/1.562, allocations: 53.94 kB / 1.37 GB, free: 11.47 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/1.563, allocations: 1.109 MB / 1.371 GB, free: 11.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/1.563, allocations: 33.3 kB / 1.371 GB, free: 11.01 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/1.563, allocations: 0.5885 MB / 1.372 GB, free: 10.54 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.466e-05/1.564, allocations: 109.3 kB / 1.372 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/1.564, allocations: 124.3 kB / 1.372 GB, free: 10.39 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.564, allocations: 325.1 kB / 1.372 GB, free: 10.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/1.564, allocations: 150 kB / 1.372 GB, free: 10.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/1.565, allocations: 421.1 kB / 1.373 GB, free: 9.625 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006598/1.565, allocations: 0.5425 MB / 1.373 GB, free: 9.207 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.565, allocations: 2.438 kB / 1.373 GB, free: 9.207 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009483/1.566, allocations: 0.6236 MB / 1.374 GB, free: 8.977 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/1.566, allocations: 7.5 kB / 1.374 GB, free: 8.977 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.566, allocations: 12 kB / 1.374 GB, free: 8.977 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/1.566, allocations: 10.16 kB / 1.374 GB, free: 8.977 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008721/1.567, allocations: 186.2 kB / 1.374 GB, free: 8.961 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/1.568, allocations: 2.356 MB / 1.376 GB, free: 6.598 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006833/1.569, allocations: 90.77 kB / 1.376 GB, free: 6.539 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/1.569, allocations: 28.12 kB / 1.376 GB, free: 6.535 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006169/1.57, allocations: 369.5 kB / 1.377 GB, free: 6.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004534/1.57, allocations: 426.1 kB / 1.377 GB, free: 5.941 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006688/1.571, allocations: 0.5303 MB / 1.378 GB, free: 5.527 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.461e-06/1.571, allocations: 2.094 kB / 1.378 GB, free: 5.527 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001074/1.572, allocations: 0.6156 MB / 1.378 GB, free: 5.305 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.572, allocations: 11.28 kB / 1.378 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/1.572, allocations: 8.469 kB / 1.378 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/1.572, allocations: 10.59 kB / 1.378 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/1.573, allocations: 122.3 kB / 1.378 GB, free: 5.297 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/1.573, allocations: 24.8 kB / 1.378 GB, free: 5.293 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/1.573, allocations: 47.84 kB / 1.378 GB, free: 5.266 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/1.573, allocations: 29.44 kB / 1.379 GB, free: 5.262 MB / 1.014 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.0002127/1.574, allocations: 222.3 kB / 1.379 GB, free: 5.062 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/1.574, allocations: 112.9 kB / 1.379 GB, free: 5.004 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008193/1.575, allocations: 414.1 kB / 1.379 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/1.575, allocations: 4.938 kB / 1.379 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.575, allocations: 0 / 1.379 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/1.575, allocations: 0 / 1.379 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/1.577, allocations: 1.296 MB / 1.381 GB, free: 4.125 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.577, allocations: 7.25 kB / 1.381 GB, free: 4.121 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/1.577, allocations: 87.09 kB / 1.381 GB, free: 4.117 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/1.577, allocations: 2.438 kB / 1.381 GB, free: 4.117 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/1.577, allocations: 17.81 kB / 1.381 GB, free: 4.109 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/1.579, allocations: 2.346 MB / 1.383 GB, free: 1.746 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.579, allocations: 2.562 kB / 1.383 GB, free: 1.746 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009196/1.58, allocations: 0.6673 MB / 1.384 GB, free: 1.328 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004777/1.58, allocations: 222.6 kB / 1.384 GB, free: 1.148 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/1.58, allocations: 11.19 kB / 1.384 GB, free: 1.141 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/1.581, allocations: 17.98 kB / 1.384 GB, free: 1.129 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/1.581, allocations: 23.83 kB / 1.384 GB, free: 1.125 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/1.581, allocations: 18.72 kB / 1.384 GB, free: 1.117 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001087/1.582, allocations: 0.7491 MB / 1.385 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.61e-07/1.582, allocations: 0 / 1.385 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001623/1.584, allocations: 491.2 kB / 1.385 GB, free: 0.75 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.0005774/1.584, allocations: 213.5 kB / 1.385 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001873/1.586, allocations: 0.6874 MB / 1.386 GB, free: 472 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/1.586, allocations: 4.438 kB / 1.386 GB, free: 472 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004032/1.587, allocations: 169.5 kB / 1.386 GB, free: 436 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/1.59, allocations: 0.6252 MB / 1.387 GB, free: 228 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/1.593, allocations: 1.885 MB / 1.389 GB, free: 15.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007837/1.594, allocations: 1.109 MB / 1.39 GB, free: 14.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001066/1.595, allocations: 252.6 kB / 1.39 GB, free: 14.33 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/1.595, allocations: 72.19 kB / 1.39 GB, free: 14.32 MB / 1.029 GB Notification: Performance of SimCode: time 1.123e-06/1.595, allocations: 0 / 1.39 GB, free: 14.32 MB / 1.029 GB Notification: Performance of Templates: time 0.03859/1.634, allocations: 19.72 MB / 1.409 GB, free: 3.641 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