Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001409, allocations: 107.3 kB / 16.41 MB, free: 6.469 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.001421/0.001422, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.628/2.628, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 67.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8456/0.8472, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1812/1.028, allocations: 163.2 MB / 1.368 GB, free: 9.723 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006401/1.035, allocations: 4.579 MB / 1.372 GB, free: 5.137 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005099/1.035, allocations: 11.94 kB / 1.372 GB, free: 5.125 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005814/1.036, allocations: 123.1 kB / 1.372 GB, free: 5.004 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001811/1.038, allocations: 0.5406 MB / 1.373 GB, free: 4.461 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/1.04, allocations: 0.7702 MB / 1.374 GB, free: 3.691 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0008495/1.041, allocations: 0.5729 MB / 1.374 GB, free: 3.117 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004834/1.042, allocations: 221.1 kB / 1.374 GB, free: 2.898 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/1.043, allocations: 462.3 kB / 1.375 GB, free: 2.445 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007618/1.044, allocations: 298.8 kB / 1.375 GB, free: 2.152 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 6.773e-05/1.044, allocations: 20 kB / 1.375 GB, free: 2.133 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/1.046, allocations: 1.002 MB / 1.376 GB, free: 1.129 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001485/1.046, allocations: 83.78 kB / 1.376 GB, free: 1.047 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/1.046, allocations: 131.4 kB / 1.376 GB, free: 0.918 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/1.048, allocations: 0.7149 MB / 1.377 GB, free: 208 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/1.048, allocations: 3.938 kB / 1.377 GB, free: 204 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.763e-06/1.048, allocations: 0 / 1.377 GB, free: 204 kB / 1.092 GB Notification: Performance of Transformations before backend: time 1.381e-05/1.048, allocations: 0 / 1.377 GB, free: 204 kB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001224/1.049, allocations: 0.5841 MB / 1.378 GB, free: 15.57 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.049, allocations: 16.02 kB / 1.378 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007554/1.05, allocations: 79.44 kB / 1.378 GB, free: 15.47 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/1.05, allocations: 303.3 kB / 1.378 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/1.05, allocations: 12 kB / 1.378 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/1.05, allocations: 20 kB / 1.378 GB, free: 15.11 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005245/1.051, allocations: 287.4 kB / 1.378 GB, free: 14.8 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.051, allocations: 0 / 1.378 GB, free: 14.8 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/1.051, allocations: 11.94 kB / 1.378 GB, free: 14.79 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/1.051, allocations: 7.938 kB / 1.378 GB, free: 14.78 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/1.051, allocations: 203.7 kB / 1.379 GB, free: 14.58 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/1.053, allocations: 1.249 MB / 1.38 GB, free: 13.25 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/1.053, allocations: 177 kB / 1.38 GB, free: 13.03 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/1.054, allocations: 116.2 kB / 1.38 GB, free: 12.9 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007343/1.054, allocations: 327.2 kB / 1.38 GB, free: 12.53 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/1.054, allocations: 42.69 kB / 1.38 GB, free: 12.48 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/1.054, allocations: 0 / 1.38 GB, free: 12.48 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0007756/1.055, allocations: 281.5 kB / 1.381 GB, free: 12.2 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/1.055, allocations: 158.2 kB / 1.381 GB, free: 12 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/1.056, allocations: 283 kB / 1.381 GB, free: 11.71 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/1.056, allocations: 29.7 kB / 1.381 GB, free: 11.68 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/1.056, allocations: 147.8 kB / 1.381 GB, free: 11.53 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/1.056, allocations: 47.39 kB / 1.381 GB, free: 11.48 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.421e-05/1.056, allocations: 45.61 kB / 1.381 GB, free: 11.43 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.056, allocations: 338.8 kB / 1.382 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/1.056, allocations: 67.94 kB / 1.382 GB, free: 11.03 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/1.056, allocations: 144.5 kB / 1.382 GB, free: 10.86 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/1.057, allocations: 219.5 kB / 1.382 GB, free: 10.61 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/1.057, allocations: 0 / 1.382 GB, free: 10.61 MB / 1.107 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005204/1.057, allocations: 237.1 kB / 1.382 GB, free: 10.38 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.057, allocations: 6.75 kB / 1.382 GB, free: 10.37 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.057, allocations: 11.98 kB / 1.382 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.057, allocations: 0 / 1.382 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/1.058, allocations: 43.92 kB / 1.382 GB, free: 10.32 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.058, allocations: 3.938 kB / 1.382 GB, free: 10.31 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/1.058, allocations: 35.67 kB / 1.382 GB, free: 10.28 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/1.058, allocations: 8 kB / 1.382 GB, free: 10.27 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001486/1.058, allocations: 153.8 kB / 1.383 GB, free: 10.11 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/1.058, allocations: 27.72 kB / 1.383 GB, free: 10.08 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004655/1.059, allocations: 186.2 kB / 1.383 GB, free: 9.879 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.059, allocations: 3.984 kB / 1.383 GB, free: 9.875 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.059, allocations: 8.062 kB / 1.383 GB, free: 9.867 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.059, allocations: 3.938 kB / 1.383 GB, free: 9.863 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009788/1.06, allocations: 0.851 MB / 1.384 GB, free: 8.938 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.06, allocations: 0 / 1.384 GB, free: 8.938 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/1.06, allocations: 27.92 kB / 1.384 GB, free: 8.91 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/1.06, allocations: 4 kB / 1.384 GB, free: 8.906 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/1.06, allocations: 4 kB / 1.384 GB, free: 8.902 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.06, allocations: 0 / 1.384 GB, free: 8.902 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.06, allocations: 7.938 kB / 1.384 GB, free: 8.895 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005864/1.06, allocations: 331.5 kB / 1.384 GB, free: 8.539 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/1.061, allocations: 124.8 kB / 1.384 GB, free: 8.398 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/1.061, allocations: 4.062 kB / 1.384 GB, free: 8.395 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/1.061, allocations: 11.98 kB / 1.384 GB, free: 8.383 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/1.061, allocations: 11.98 kB / 1.384 GB, free: 8.371 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/1.061, allocations: 4 kB / 1.384 GB, free: 8.367 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002333/1.061, allocations: 233.9 kB / 1.384 GB, free: 8.145 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.061, allocations: 0 / 1.384 GB, free: 8.145 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00048/1.062, allocations: 91.94 kB / 1.384 GB, free: 8.055 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006032/1.062, allocations: 228.7 kB / 1.385 GB, free: 7.828 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004191/1.063, allocations: 156 kB / 1.385 GB, free: 7.676 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.063, allocations: 0 / 1.385 GB, free: 7.676 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/1.063, allocations: 55.91 kB / 1.385 GB, free: 7.621 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007842/1.064, allocations: 136.2 kB / 1.385 GB, free: 7.496 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00088/1.065, allocations: 0.5287 MB / 1.386 GB, free: 6.918 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/1.065, allocations: 0.7636 MB / 1.386 GB, free: 6.129 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/1.065, allocations: 23.44 kB / 1.386 GB, free: 6.109 MB / 1.107 GB Notification: Performance of SimCode: time 3.7e-07/1.065, allocations: 0 / 1.386 GB, free: 6.109 MB / 1.107 GB Notification: Performance of Templates: time 0.009733/1.075, allocations: 5.242 MB / 1.391 GB, free: 0.9062 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches