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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001486/0.001486, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001697/0.001697, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.68/2.68, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 8 kB / 0.8707 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6978/0.6982, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.2358/0.934, allocations: 213.6 MB / 1.229 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02387/0.958, allocations: 16.67 MB / 1.246 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.9601, allocations: 39.69 kB / 1.246 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003419/0.9636, allocations: 0.8751 MB / 1.247 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008518/0.9721, allocations: 2.318 MB / 1.249 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004035/0.9762, allocations: 1.008 MB / 1.25 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004691/0.9809, allocations: 1.791 MB / 1.252 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.9831, allocations: 0.91 MB / 1.252 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006188/0.9893, allocations: 1.967 MB / 1.254 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.991, allocations: 0.6068 MB / 1.255 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003858/0.9915, allocations: 48 kB / 1.255 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.9942, allocations: 0.706 MB / 1.256 GB, free: 0 / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.6677/1.662, allocations: 322.1 kB / 1.256 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006205/1.663, allocations: 289.4 kB / 1.256 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00224/1.665, allocations: 1.314 MB / 1.258 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/1.665, allocations: 0 / 1.258 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/1.665, allocations: 0 / 1.258 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.717e-05/1.665, allocations: 0 / 1.258 GB, free: 9.91 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.00233/1.667, allocations: 1.319 MB / 1.259 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/1.667, allocations: 9.609 kB / 1.259 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/1.669, allocations: 288.5 kB / 1.259 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/1.671, allocations: 0.7862 MB / 1.26 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.825e-05/1.671, allocations: 71.19 kB / 1.26 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/1.671, allocations: 93.14 kB / 1.26 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/1.673, allocations: 0.9679 MB / 1.261 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/1.673, allocations: 6.953 kB / 1.261 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.287e-05/1.673, allocations: 37.47 kB / 1.261 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/1.673, allocations: 23.16 kB / 1.261 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/1.674, allocations: 0.6383 MB / 1.262 GB, free: 8.527 MB / 0.9981 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.006184/1.68, allocations: 4.392 MB / 1.266 GB, free: 21.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/1.681, allocations: 247.4 kB / 1.266 GB, free: 21.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004394/1.681, allocations: 139.5 kB / 1.266 GB, free: 21.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/1.681, allocations: 36.53 kB / 1.266 GB, free: 21.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 3.016e-06/1.681, allocations: 6.984 kB / 1.266 GB, free: 21.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.001062/1.683, allocations: 476.9 kB / 1.267 GB, free: 21.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/1.683, allocations: 58.66 kB / 1.267 GB, free: 21.47 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/1.684, allocations: 1.057 MB / 1.268 GB, free: 21.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/1.684, allocations: 36.42 kB / 1.268 GB, free: 21.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/1.684, allocations: 0.5743 MB / 1.269 GB, free: 21.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/1.685, allocations: 107.7 kB / 1.269 GB, free: 21.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/1.685, allocations: 9.375 kB / 1.269 GB, free: 21.01 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.685, allocations: 329.9 kB / 1.269 GB, free: 20.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/1.685, allocations: 128.2 kB / 1.269 GB, free: 20.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/1.685, allocations: 392.2 kB / 1.269 GB, free: 20.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/1.686, allocations: 184.8 kB / 1.27 GB, free: 20.39 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/1.686, allocations: 6.031 kB / 1.27 GB, free: 20.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001034/1.687, allocations: 0.5907 MB / 1.27 GB, free: 20.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008047/1.688, allocations: 2.637 MB / 1.273 GB, free: 17.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/1.688, allocations: 6.531 kB / 1.273 GB, free: 17.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/1.688, allocations: 10.47 kB / 1.273 GB, free: 17.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009357/1.689, allocations: 178.9 kB / 1.273 GB, free: 17.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/1.69, allocations: 2.361 MB / 1.275 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009691/1.691, allocations: 117.4 kB / 1.275 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.089e-05/1.691, allocations: 27.64 kB / 1.275 GB, free: 15.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/1.691, allocations: 4.531 kB / 1.275 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008343/1.692, allocations: 457.8 kB / 1.276 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.692, allocations: 7.328 kB / 1.276 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/1.692, allocations: 17.28 kB / 1.276 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/1.692, allocations: 119.7 kB / 1.276 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/1.692, allocations: 13.83 kB / 1.276 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007446/1.693, allocations: 113.4 kB / 1.276 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/1.693, allocations: 25.67 kB / 1.276 GB, free: 15.09 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005656/1.694, allocations: 368.7 kB / 1.276 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/1.694, allocations: 115.6 kB / 1.277 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006802/1.694, allocations: 399.1 kB / 1.277 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.694, allocations: 2.562 kB / 1.277 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.694, allocations: 1.75 kB / 1.277 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.694, allocations: 1.359 kB / 1.277 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/1.697, allocations: 1.305 MB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.697, allocations: 2.75 kB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/1.697, allocations: 94.52 kB / 1.278 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/1.697, allocations: 4.344 kB / 1.278 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/1.697, allocations: 9.891 kB / 1.278 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/1.698, allocations: 2.351 MB / 1.281 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.698, allocations: 3.344 kB / 1.281 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/1.699, allocations: 0.7996 MB / 1.281 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003935/1.699, allocations: 212.5 kB / 1.282 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/1.699, allocations: 12.33 kB / 1.282 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/1.7, allocations: 57.08 kB / 1.282 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/1.7, allocations: 22.28 kB / 1.282 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/1.7, allocations: 12.28 kB / 1.282 GB, free: 11.41 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009989/1.701, allocations: 0.7274 MB / 1.282 GB, free: 11.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.701, allocations: 3.938 kB / 1.282 GB, free: 11.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001423/1.702, allocations: 485.5 kB / 1.283 GB, free: 11.24 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004488/1.703, allocations: 200.6 kB / 1.283 GB, free: 11.13 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001498/1.704, allocations: 0.6386 MB / 1.284 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.704, allocations: 0.625 kB / 1.284 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003685/1.705, allocations: 171.7 kB / 1.284 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/1.707, allocations: 0.57 MB / 1.284 GB, free: 11.06 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/1.71, allocations: 2.203 MB / 1.287 GB, free: 9.855 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007089/1.711, allocations: 1.126 MB / 1.288 GB, free: 9.137 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009432/1.712, allocations: 241 kB / 1.288 GB, free: 9.082 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/1.712, allocations: 71.56 kB / 1.288 GB, free: 9.074 MB / 1.014 GB Notification: Performance of SimCode: time 8.72e-07/1.712, allocations: 0 / 1.288 GB, free: 9.074 MB / 1.014 GB Notification: Performance of Templates: time 0.02723/1.739, allocations: 17.84 MB / 1.305 GB, free: 7.957 MB / 1.014 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","../files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches