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.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.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.001431/0.001431, allocations: 102.9 kB / 16.35 MB, free: 5.828 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.001562/0.001563, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.49/2.49, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 64.22 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.284, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.7152/0.9992, allocations: 163.2 MB / 1.186 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006257/1.006, allocations: 4.577 MB / 1.191 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004272/1.006, allocations: 10.31 kB / 1.191 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004527/1.006, allocations: 125.2 kB / 1.191 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0013/1.008, allocations: 0.5359 MB / 1.191 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001824/1.01, allocations: 0.7677 MB / 1.192 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007777/1.01, allocations: 0.5796 MB / 1.193 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003892/1.011, allocations: 215.4 kB / 1.193 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/1.012, allocations: 469.8 kB / 1.193 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005587/1.012, allocations: 286.2 kB / 1.193 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/1.013, allocations: 18.66 kB / 1.194 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/1.014, allocations: 1.001 MB / 1.194 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/1.014, allocations: 92.95 kB / 1.195 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/1.015, allocations: 129.9 kB / 1.195 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/1.016, allocations: 0.71 MB / 1.195 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/1.016, allocations: 0 / 1.195 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.523e-06/1.016, allocations: 0 / 1.195 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.304e-06/1.016, allocations: 1.375 kB / 1.195 GB, free: 10.11 MB / 0.9044 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.0009035/1.017, allocations: 0.5954 MB / 1.196 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/1.017, allocations: 9.625 kB / 1.196 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006479/1.017, allocations: 70.09 kB / 1.196 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/1.018, allocations: 302.2 kB / 1.196 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/1.018, allocations: 16.25 kB / 1.196 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/1.018, allocations: 16.38 kB / 1.196 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/1.018, allocations: 287.8 kB / 1.197 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/1.018, allocations: 0 / 1.197 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/1.018, allocations: 6.75 kB / 1.197 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/1.018, allocations: 9.438 kB / 1.197 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/1.019, allocations: 212 kB / 1.197 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/1.02, allocations: 1.231 MB / 1.198 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/1.021, allocations: 177.6 kB / 1.198 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/1.021, allocations: 115.2 kB / 1.198 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007815/1.022, allocations: 329.2 kB / 1.199 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.771e-05/1.022, allocations: 40.81 kB / 1.199 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/1.022, allocations: 4 kB / 1.199 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0007297/1.023, allocations: 274.4 kB / 1.199 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/1.023, allocations: 168.9 kB / 1.199 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/1.023, allocations: 286 kB / 1.199 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/1.023, allocations: 31.02 kB / 1.199 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/1.023, allocations: 149.2 kB / 1.2 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/1.023, allocations: 48.38 kB / 1.2 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.154e-05/1.023, allocations: 42.2 kB / 1.2 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.023, allocations: 342.3 kB / 1.2 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/1.024, allocations: 66.12 kB / 1.2 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/1.024, allocations: 144.8 kB / 1.2 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/1.024, allocations: 211.2 kB / 1.2 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.024, allocations: 0 / 1.2 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000482/1.025, allocations: 241.9 kB / 1.201 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.025, allocations: 11.98 kB / 1.201 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.025, allocations: 2.469 kB / 1.201 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.025, allocations: 6.266 kB / 1.201 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/1.025, allocations: 36.5 kB / 1.201 GB, free: 5.617 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.025, allocations: 2.656 kB / 1.201 GB, free: 5.617 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/1.025, allocations: 30.77 kB / 1.201 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/1.025, allocations: 14.66 kB / 1.201 GB, free: 5.594 MB / 0.9044 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.0001404/1.025, allocations: 150.5 kB / 1.201 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/1.025, allocations: 25.06 kB / 1.201 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004433/1.026, allocations: 196.2 kB / 1.201 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.026, allocations: 2.969 kB / 1.201 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.026, allocations: 0.625 kB / 1.201 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.026, allocations: 2.719 kB / 1.201 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/1.027, allocations: 0.8563 MB / 1.202 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.027, allocations: 3.031 kB / 1.202 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/1.027, allocations: 20.14 kB / 1.202 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/1.027, allocations: 6.406 kB / 1.202 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/1.027, allocations: 2.531 kB / 1.202 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.027, allocations: 10.47 kB / 1.202 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.027, allocations: 0 / 1.202 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/1.028, allocations: 345.5 kB / 1.202 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/1.028, allocations: 110.9 kB / 1.202 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/1.028, allocations: 19.19 kB / 1.202 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/1.028, allocations: 8.328 kB / 1.202 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/1.028, allocations: 9.047 kB / 1.202 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/1.028, allocations: 6.969 kB / 1.202 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002142/1.028, allocations: 236.6 kB / 1.203 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.028, allocations: 0 / 1.203 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000482/1.029, allocations: 91.91 kB / 1.203 GB, free: 3.891 MB / 0.9044 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.0005302/1.029, allocations: 228.5 kB / 1.203 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003726/1.03, allocations: 147.7 kB / 1.203 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.03, allocations: 4 kB / 1.203 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/1.03, allocations: 58.84 kB / 1.203 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000706/1.031, allocations: 146.7 kB / 1.203 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007782/1.031, allocations: 490 kB / 1.204 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/1.032, allocations: 0.773 MB / 1.205 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001671/1.032, allocations: 64.08 kB / 1.205 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/1.032, allocations: 26.23 kB / 1.205 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1.032, allocations: 0 / 1.205 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of Templates: time 0.01001/1.042, allocations: 5.808 MB / 1.21 GB, free: 15.52 MB / 0.92 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 -s gbode -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