Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001045/0.001045, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001292/0.001292, allocations: 168.7 kB / 15.95 MB, free: 204 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.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 437.7 MB / 0.7117 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003322, allocations: 8 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6143/0.6147, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1956/0.8103, allocations: 148.2 MB / 1.167 GB, free: 11.41 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005446/0.8158, allocations: 4.253 MB / 1.171 GB, free: 7.141 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.8161, allocations: 11.94 kB / 1.171 GB, free: 7.129 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.8165, allocations: 87.3 kB / 1.171 GB, free: 7.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.8177, allocations: 382.1 kB / 1.172 GB, free: 6.668 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.8191, allocations: 0.5252 MB / 1.172 GB, free: 6.145 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007838/0.8199, allocations: 0.6821 MB / 1.173 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.8202, allocations: 173.2 kB / 1.173 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008209/0.821, allocations: 366.5 kB / 1.173 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005428/0.8216, allocations: 271 kB / 1.174 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.8216, allocations: 8 kB / 1.174 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.8228, allocations: 0.5222 MB / 1.174 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.8229, allocations: 91.75 kB / 1.174 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.62e-05/0.823, allocations: 77.52 kB / 1.174 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005723/0.8236, allocations: 403.1 kB / 1.175 GB, free: 3.562 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8236, allocations: 0 / 1.175 GB, free: 3.562 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8236, allocations: 0 / 1.175 GB, free: 3.562 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.8236, allocations: 0 / 1.175 GB, free: 3.562 MB / 0.92 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.0008552/0.8245, allocations: 0.5491 MB / 1.175 GB, free: 2.965 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.8245, allocations: 8.031 kB / 1.175 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.8251, allocations: 75.56 kB / 1.175 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.8255, allocations: 279.5 kB / 1.176 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.8256, allocations: 16 kB / 1.176 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.8256, allocations: 20 kB / 1.176 GB, free: 2.535 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.8261, allocations: 295.3 kB / 1.176 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.8261, allocations: 3.938 kB / 1.176 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.8262, allocations: 8 kB / 1.176 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.8262, allocations: 4 kB / 1.176 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.8266, allocations: 223.5 kB / 1.176 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.8282, allocations: 1.246 MB / 1.177 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.8285, allocations: 177 kB / 1.178 GB, free: 452 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.8287, allocations: 116.2 kB / 1.178 GB, free: 320 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007141/0.8294, allocations: 351.4 kB / 1.178 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.8295, allocations: 38.5 kB / 1.178 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.8295, allocations: 0 / 1.178 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.000765/0.8303, allocations: 293.4 kB / 1.178 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.8304, allocations: 154.2 kB / 1.179 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.8306, allocations: 291.1 kB / 1.179 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.8307, allocations: 29.7 kB / 1.179 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.8308, allocations: 151.8 kB / 1.179 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.8308, allocations: 47.34 kB / 1.179 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.8309, allocations: 4 kB / 1.179 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.831, allocations: 334.8 kB / 1.179 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.8311, allocations: 71.94 kB / 1.179 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.8314, allocations: 152.8 kB / 1.18 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.8316, allocations: 87.95 kB / 1.18 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8316, allocations: 0 / 1.18 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005258/0.8321, allocations: 253 kB / 1.18 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.8321, allocations: 9.875 kB / 1.18 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.8322, allocations: 0 / 1.18 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.8322, allocations: 4 kB / 1.18 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.8324, allocations: 52.16 kB / 1.18 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.8324, allocations: 7.938 kB / 1.18 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.8326, allocations: 35.62 kB / 1.18 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.8326, allocations: 12 kB / 1.18 GB, free: 13.82 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.8328, allocations: 153.8 kB / 1.18 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.8329, allocations: 23.72 kB / 1.18 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.8334, allocations: 197.8 kB / 1.18 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.8334, allocations: 4 kB / 1.18 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.8334, allocations: 3.984 kB / 1.18 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.8334, allocations: 4 kB / 1.18 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000976/0.8344, allocations: 0.8627 MB / 1.181 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.8344, allocations: 0 / 1.181 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.8346, allocations: 32.08 kB / 1.181 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.8346, allocations: 0 / 1.181 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.8346, allocations: 11.95 kB / 1.181 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.8346, allocations: 4 kB / 1.181 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8346, allocations: 0 / 1.181 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.8352, allocations: 351.4 kB / 1.182 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.8353, allocations: 124.7 kB / 1.182 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.8354, allocations: 8 kB / 1.182 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.8355, allocations: 15.94 kB / 1.182 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.8356, allocations: 4.094 kB / 1.182 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.8356, allocations: 11.94 kB / 1.182 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002349/0.8358, allocations: 229.9 kB / 1.182 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8358, allocations: 8.062 kB / 1.182 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004393/0.8363, allocations: 91.98 kB / 1.182 GB, free: 11.55 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004493/0.8367, allocations: 199.1 kB / 1.182 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003956/0.8371, allocations: 163.7 kB / 1.182 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8372, allocations: 0 / 1.182 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.8373, allocations: 72.7 kB / 1.182 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/0.838, allocations: 116.5 kB / 1.183 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008646/0.8389, allocations: 0.5631 MB / 1.183 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.8393, allocations: 0.756 MB / 1.184 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000229/0.8395, allocations: 74.94 kB / 1.184 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.8396, allocations: 19.44 kB / 1.184 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.8396, allocations: 0 / 1.184 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of Templates: time 0.01033/0.8499, allocations: 5.304 MB / 1.189 GB, free: 4.285 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches