Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001338/0.001338, allocations: 108.8 kB / 16.36 MB, free: 6.336 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.001357/0.001357, allocations: 193.5 kB / 17.29 MB, free: 5.883 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.49/1.49, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 64.17 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3253, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.8066/1.132, allocations: 163.2 MB / 1.111 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005566/1.138, allocations: 4.584 MB / 1.115 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006662/1.138, allocations: 10.62 kB / 1.115 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005703/1.139, allocations: 124 kB / 1.115 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002006/1.141, allocations: 0.5356 MB / 1.116 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/1.143, allocations: 0.7713 MB / 1.116 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009406/1.144, allocations: 0.5804 MB / 1.117 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000409/1.145, allocations: 214.9 kB / 1.117 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/1.146, allocations: 459.7 kB / 1.118 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006261/1.146, allocations: 293.8 kB / 1.118 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/1.147, allocations: 17.66 kB / 1.118 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/1.149, allocations: 1 MB / 1.119 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/1.149, allocations: 85.05 kB / 1.119 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/1.149, allocations: 129.4 kB / 1.119 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/1.151, allocations: 0.7158 MB / 1.12 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.151, allocations: 0 / 1.12 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.685e-06/1.151, allocations: 1.562 kB / 1.12 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.856e-06/1.151, allocations: 0 / 1.12 GB, free: 5.152 MB / 0.8575 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.001262/1.152, allocations: 0.5944 MB / 1.12 GB, free: 20.69 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.152, allocations: 9.656 kB / 1.12 GB, free: 20.69 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007051/1.153, allocations: 77.7 kB / 1.12 GB, free: 20.67 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/1.153, allocations: 299.4 kB / 1.121 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/1.153, allocations: 15.34 kB / 1.121 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/1.153, allocations: 17.5 kB / 1.121 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/1.154, allocations: 283.6 kB / 1.121 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.154, allocations: 5.625 kB / 1.121 GB, free: 20.35 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/1.154, allocations: 9.172 kB / 1.121 GB, free: 20.35 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/1.154, allocations: 9.469 kB / 1.121 GB, free: 20.35 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/1.154, allocations: 201.9 kB / 1.121 GB, free: 20.35 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/1.156, allocations: 1.238 MB / 1.122 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/1.156, allocations: 182.1 kB / 1.123 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/1.156, allocations: 112.7 kB / 1.123 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008141/1.157, allocations: 336.8 kB / 1.123 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/1.157, allocations: 40.09 kB / 1.123 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/1.157, allocations: 1.094 kB / 1.123 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0008351/1.158, allocations: 283.6 kB / 1.123 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/1.158, allocations: 159.9 kB / 1.124 GB, free: 18.78 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/1.159, allocations: 286.1 kB / 1.124 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/1.159, allocations: 30.33 kB / 1.124 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/1.159, allocations: 147.4 kB / 1.124 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/1.159, allocations: 48.67 kB / 1.124 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-05/1.159, allocations: 38.81 kB / 1.124 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.159, allocations: 343.3 kB / 1.124 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/1.159, allocations: 67.92 kB / 1.124 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/1.159, allocations: 142.4 kB / 1.125 GB, free: 18.1 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/1.16, allocations: 214.5 kB / 1.125 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.16, allocations: 0 / 1.125 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005347/1.16, allocations: 244.6 kB / 1.125 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.16, allocations: 7.469 kB / 1.125 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.16, allocations: 6.594 kB / 1.125 GB, free: 17.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/1.16, allocations: 3.188 kB / 1.125 GB, free: 17.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/1.161, allocations: 36.95 kB / 1.125 GB, free: 17.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/1.161, allocations: 2.875 kB / 1.125 GB, free: 17.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/1.161, allocations: 30.2 kB / 1.125 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/1.161, allocations: 12.81 kB / 1.125 GB, free: 17.96 MB / 0.8731 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.0001588/1.161, allocations: 157.8 kB / 1.125 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/1.161, allocations: 25.03 kB / 1.125 GB, free: 17.83 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/1.162, allocations: 195 kB / 1.125 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/1.162, allocations: 6.328 kB / 1.125 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.162, allocations: 2.312 kB / 1.125 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/1.162, allocations: 2.156 kB / 1.125 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/1.163, allocations: 0.8521 MB / 1.126 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.163, allocations: 3.812 kB / 1.126 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/1.163, allocations: 21.94 kB / 1.126 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/1.163, allocations: 7.109 kB / 1.126 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/1.163, allocations: 3.031 kB / 1.126 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/1.163, allocations: 9.344 kB / 1.126 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.163, allocations: 1.719 kB / 1.126 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/1.164, allocations: 340.1 kB / 1.127 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/1.164, allocations: 111.2 kB / 1.127 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/1.164, allocations: 14.22 kB / 1.127 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/1.164, allocations: 7.109 kB / 1.127 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/1.164, allocations: 12.98 kB / 1.127 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/1.164, allocations: 3.375 kB / 1.127 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002525/1.164, allocations: 234.3 kB / 1.127 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.41e-07/1.164, allocations: 0 / 1.127 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005899/1.165, allocations: 98.66 kB / 1.127 GB, free: 16.71 MB / 0.8731 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.0005805/1.166, allocations: 211.2 kB / 1.127 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004136/1.166, allocations: 159.6 kB / 1.128 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.166, allocations: 0.8438 kB / 1.128 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/1.166, allocations: 58.77 kB / 1.128 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/1.167, allocations: 143.5 kB / 1.128 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009493/1.168, allocations: 498.6 kB / 1.128 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/1.168, allocations: 0.7618 MB / 1.129 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001897/1.168, allocations: 61.97 kB / 1.129 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/1.168, allocations: 26.62 kB / 1.129 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of SimCode: time 1.272e-06/1.168, allocations: 0 / 1.129 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of Templates: time 0.01174/1.18, allocations: 5.803 MB / 1.135 GB, free: 15.16 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches