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 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.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.001501/0.001501, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002067/0.002068, allocations: 194.3 kB / 16.25 MB, free: 6.621 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 66.97 kB / 0.9116 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3967, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1718/0.5685, allocations: 161 MB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005574/0.5741, allocations: 4.549 MB / 1.229 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004/0.5745, allocations: 7.938 kB / 1.229 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.5751, allocations: 115.3 kB / 1.23 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.5768, allocations: 0.4981 MB / 1.23 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.5788, allocations: 0.7201 MB / 1.231 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008895/0.5797, allocations: 0.5845 MB / 1.231 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.5801, allocations: 189.2 kB / 1.231 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.5811, allocations: 462.3 kB / 1.232 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000685/0.5818, allocations: 302.9 kB / 1.232 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.974e-05/0.5819, allocations: 16 kB / 1.232 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/0.5838, allocations: 1.056 MB / 1.233 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.5839, allocations: 83.78 kB / 1.233 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.5841, allocations: 127.3 kB / 1.233 GB, free: 452 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.5856, allocations: 0.7635 MB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5856, allocations: 3.938 kB / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.454e-06/0.5856, allocations: 4 kB / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.5856, allocations: 0 / 1.234 GB, free: 15.67 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001332/0.587, allocations: 0.5898 MB / 1.235 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.587, allocations: 12.03 kB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007497/0.5878, allocations: 79.48 kB / 1.235 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/0.5883, allocations: 283.4 kB / 1.235 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.5883, allocations: 16 kB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.5884, allocations: 27.91 kB / 1.235 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.5891, allocations: 291.4 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.5891, allocations: 0 / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.5891, allocations: 11.94 kB / 1.235 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.5891, allocations: 11.94 kB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.5896, allocations: 213.4 kB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.5914, allocations: 1.238 MB / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.5917, allocations: 173 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.592, allocations: 116.2 kB / 1.237 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008615/0.5928, allocations: 335.2 kB / 1.237 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.5929, allocations: 42.69 kB / 1.238 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 2.294e-06/0.5929, allocations: 0 / 1.238 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.00085/0.5937, allocations: 277.4 kB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.5939, allocations: 154.2 kB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.5942, allocations: 291 kB / 1.238 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.5942, allocations: 25.7 kB / 1.238 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5944, allocations: 151.8 kB / 1.238 GB, free: 11 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.5944, allocations: 35.45 kB / 1.238 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.103e-05/0.5945, allocations: 53.73 kB / 1.238 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5946, allocations: 338.8 kB / 1.239 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.5948, allocations: 67.94 kB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.5951, allocations: 145.6 kB / 1.239 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.5955, allocations: 211.5 kB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.5955, allocations: 0 / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005542/0.5961, allocations: 241.3 kB / 1.239 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5961, allocations: 12 kB / 1.239 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.5961, allocations: 3.984 kB / 1.239 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5961, allocations: 4 kB / 1.239 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.5963, allocations: 31.98 kB / 1.239 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.5963, allocations: 7.938 kB / 1.239 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.5966, allocations: 35.67 kB / 1.24 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.5966, allocations: 15.88 kB / 1.24 GB, free: 9.742 MB / 0.9981 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.0001431/0.5968, allocations: 157.8 kB / 1.24 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.5969, allocations: 24.09 kB / 1.24 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/0.5974, allocations: 189.8 kB / 1.24 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5974, allocations: 0 / 1.24 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5974, allocations: 4 kB / 1.24 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5974, allocations: 0 / 1.24 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.5985, allocations: 0.8627 MB / 1.241 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.5985, allocations: 0 / 1.241 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.5987, allocations: 19.98 kB / 1.241 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.5987, allocations: 11.97 kB / 1.241 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.5987, allocations: 4 kB / 1.241 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5987, allocations: 0 / 1.241 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.5987, allocations: 8.094 kB / 1.241 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006341/0.5994, allocations: 343.4 kB / 1.241 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.5996, allocations: 112.8 kB / 1.241 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.5996, allocations: 4 kB / 1.241 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.5998, allocations: 11.98 kB / 1.241 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.5999, allocations: 7.984 kB / 1.241 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.5999, allocations: 8 kB / 1.241 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002789/0.6002, allocations: 233.9 kB / 1.241 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6002, allocations: 4.062 kB / 1.241 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005034/0.6007, allocations: 99.92 kB / 1.242 GB, free: 7.512 MB / 0.9981 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.0005835/0.6013, allocations: 215.7 kB / 1.242 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004109/0.6017, allocations: 155.8 kB / 1.242 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6017, allocations: 3.938 kB / 1.242 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.6019, allocations: 55.91 kB / 1.242 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008061/0.6027, allocations: 148.7 kB / 1.242 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008636/0.6036, allocations: 0.5508 MB / 1.243 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.6039, allocations: 0.7558 MB / 1.243 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002182/0.6041, allocations: 70.92 kB / 1.243 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.6042, allocations: 23.44 kB / 1.243 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.6042, allocations: 0 / 1.243 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.5272/1.131, allocations: 5.716 MB / 1.249 GB, free: 186 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches