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.001464/0.001464, 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.002413/0.002413, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.763/2.763, allocations: 461.9 MB / 0.7342 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 62.38 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4365, allocations: 157.4 MB / 1.052 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.058/1.495, allocations: 259.9 MB / 1.306 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02413/1.519, allocations: 19.21 MB / 1.325 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/1.522, allocations: 45 kB / 1.325 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002643/1.525, allocations: 0.6146 MB / 1.325 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005712/1.53, allocations: 1.721 MB / 1.327 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004659/1.535, allocations: 1.294 MB / 1.328 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008386/1.543, allocations: 4.55 MB / 1.333 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002425/1.546, allocations: 1.006 MB / 1.334 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01091/1.557, allocations: 2.936 MB / 1.336 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/1.56, allocations: 1.038 MB / 1.338 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002557/1.56, allocations: 63.66 kB / 1.338 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004488/1.565, allocations: 1.732 MB / 1.339 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005531/1.565, allocations: 381.8 kB / 1.34 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/1.566, allocations: 0.665 MB / 1.34 GB, free: 468 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003922/1.57, allocations: 2.096 MB / 1.342 GB, free: 176 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.57, allocations: 0 / 1.342 GB, free: 176 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/1.57, allocations: 0 / 1.342 GB, free: 176 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.542e-05/1.57, allocations: 0 / 1.342 GB, free: 176 kB / 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.002518/1.573, allocations: 1.6 MB / 1.344 GB, free: 15.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.573, allocations: 8.125 kB / 1.344 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/1.575, allocations: 280.1 kB / 1.344 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/1.576, allocations: 0.8319 MB / 1.345 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/1.577, allocations: 73.94 kB / 1.345 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/1.577, allocations: 97.06 kB / 1.345 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/1.579, allocations: 0.9812 MB / 1.346 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/1.579, allocations: 4.344 kB / 1.346 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.378e-05/1.579, allocations: 35.81 kB / 1.346 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/1.579, allocations: 23.78 kB / 1.346 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/1.58, allocations: 0.6451 MB / 1.347 GB, free: 14.65 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.004996/1.585, allocations: 4.386 MB / 1.351 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/1.585, allocations: 247 kB / 1.351 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/1.586, allocations: 131.5 kB / 1.351 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006203/1.586, allocations: 309.6 kB / 1.352 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/1.586, allocations: 36.34 kB / 1.352 GB, free: 11.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 2.655e-06/1.586, allocations: 0 / 1.352 GB, free: 11.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.001013/1.587, allocations: 492.8 kB / 1.352 GB, free: 11.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/1.587, allocations: 53.66 kB / 1.352 GB, free: 11.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/1.589, allocations: 1.087 MB / 1.353 GB, free: 11.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/1.589, allocations: 32.89 kB / 1.353 GB, free: 11.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/1.589, allocations: 0.5845 MB / 1.354 GB, free: 10.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/1.589, allocations: 105.3 kB / 1.354 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/1.589, allocations: 112.1 kB / 1.354 GB, free: 10.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.59, allocations: 325.8 kB / 1.354 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/1.59, allocations: 146.5 kB / 1.355 GB, free: 10.58 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/1.59, allocations: 399.1 kB / 1.355 GB, free: 10.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006332/1.591, allocations: 0.5014 MB / 1.355 GB, free: 10.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.591, allocations: 2.531 kB / 1.355 GB, free: 10.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009497/1.592, allocations: 0.5892 MB / 1.356 GB, free: 9.914 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.592, allocations: 14.19 kB / 1.356 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/1.592, allocations: 7.094 kB / 1.356 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/1.592, allocations: 12.47 kB / 1.356 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008851/1.593, allocations: 175 kB / 1.356 GB, free: 9.902 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/1.594, allocations: 2.359 MB / 1.359 GB, free: 7.559 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008811/1.595, allocations: 122.4 kB / 1.359 GB, free: 7.504 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/1.595, allocations: 27.86 kB / 1.359 GB, free: 7.504 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005951/1.596, allocations: 364.9 kB / 1.359 GB, free: 7.422 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003993/1.596, allocations: 393 kB / 1.359 GB, free: 7.109 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005474/1.597, allocations: 0.4931 MB / 1.36 GB, free: 6.855 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/1.597, allocations: 0 / 1.36 GB, free: 6.855 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization_lambda0): time 0.0008151/1.598, allocations: 0.5912 MB / 1.36 GB, free: 6.754 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.598, allocations: 10.78 kB / 1.36 GB, free: 6.754 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.598, allocations: 5.031 kB / 1.36 GB, free: 6.754 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/1.598, allocations: 10.72 kB / 1.36 GB, free: 6.754 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/1.598, allocations: 117.6 kB / 1.361 GB, free: 6.754 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/1.598, allocations: 13.78 kB / 1.361 GB, free: 6.754 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/1.599, allocations: 83.5 kB / 1.361 GB, free: 6.734 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/1.599, allocations: 26.61 kB / 1.361 GB, free: 6.734 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.0002043/1.599, allocations: 225.2 kB / 1.361 GB, free: 6.543 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/1.599, allocations: 111.5 kB / 1.361 GB, free: 6.484 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007813/1.6, allocations: 404.3 kB / 1.361 GB, free: 6.422 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/1.6, allocations: 6.328 kB / 1.361 GB, free: 6.422 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.6, allocations: 0 / 1.361 GB, free: 6.422 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.6, allocations: 4 kB / 1.361 GB, free: 6.418 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/1.602, allocations: 1.304 MB / 1.363 GB, free: 6.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/1.602, allocations: 3.375 kB / 1.363 GB, free: 6.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/1.603, allocations: 89.48 kB / 1.363 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/1.603, allocations: 4.875 kB / 1.363 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/1.603, allocations: 11.95 kB / 1.363 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/1.604, allocations: 2.342 MB / 1.365 GB, free: 3.668 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.604, allocations: 5.938 kB / 1.365 GB, free: 3.668 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008517/1.605, allocations: 0.6714 MB / 1.366 GB, free: 3.379 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/1.605, allocations: 217.8 kB / 1.366 GB, free: 3.227 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/1.605, allocations: 5.875 kB / 1.366 GB, free: 3.227 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004658/1.606, allocations: 57.39 kB / 1.366 GB, free: 3.211 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/1.606, allocations: 36.31 kB / 1.366 GB, free: 3.203 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/1.606, allocations: 15.47 kB / 1.366 GB, free: 3.199 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009606/1.607, allocations: 0.7406 MB / 1.367 GB, free: 3.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.607, allocations: 0 / 1.367 GB, free: 3.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001384/1.608, allocations: 488.3 kB / 1.367 GB, free: 3.039 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.0005057/1.609, allocations: 213.2 kB / 1.367 GB, free: 2.922 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001542/1.61, allocations: 0.6361 MB / 1.368 GB, free: 2.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.61, allocations: 6.562 kB / 1.368 GB, free: 2.906 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003361/1.611, allocations: 169.8 kB / 1.368 GB, free: 2.906 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/1.613, allocations: 0.5998 MB / 1.369 GB, free: 2.848 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/1.616, allocations: 2.237 MB / 1.371 GB, free: 1.543 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006771/1.617, allocations: 1.115 MB / 1.372 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001032/1.618, allocations: 232.4 kB / 1.372 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/1.618, allocations: 77.25 kB / 1.372 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of SimCode: time 1.322e-06/1.618, allocations: 0 / 1.372 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of Templates: time 0.03708/1.655, allocations: 18.86 MB / 1.391 GB, free: 8.59 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