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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00159/0.00159, allocations: 110.4 kB / 15.99 MB, free: 6.754 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.001572/0.001572, allocations: 199.5 kB / 16.91 MB, free: 6.527 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.725/2.725, allocations: 437.1 MB / 0.7107 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 71.88 kB / 0.8694 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6175/0.6195, allocations: 151.6 MB / 1.017 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1881/0.8076, allocations: 161 MB / 1.175 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006085/0.8137, allocations: 4.549 MB / 1.179 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004442/0.8142, allocations: 7.938 kB / 1.179 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.8147, allocations: 103.3 kB / 1.179 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.8161, allocations: 0.5058 MB / 1.18 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.8181, allocations: 0.7168 MB / 1.18 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.8189, allocations: 0.5806 MB / 1.181 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.8192, allocations: 197.1 kB / 1.181 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009522/0.8202, allocations: 458.4 kB / 1.182 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005669/0.8208, allocations: 302.9 kB / 1.182 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.899e-05/0.8208, allocations: 20 kB / 1.182 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.8225, allocations: 1.044 MB / 1.183 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.8227, allocations: 91.77 kB / 1.183 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.8228, allocations: 123.3 kB / 1.183 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008008/0.8236, allocations: 0.4951 MB / 1.184 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.8237, allocations: 3.984 kB / 1.184 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.516e-06/0.8237, allocations: 0 / 1.184 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.8237, allocations: 3.938 kB / 1.184 GB, free: 8.012 MB / 0.9356 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.001014/0.8247, allocations: 0.5841 MB / 1.184 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.8247, allocations: 8.031 kB / 1.184 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006928/0.8254, allocations: 83.56 kB / 1.184 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.8259, allocations: 291.3 kB / 1.185 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.8259, allocations: 12 kB / 1.185 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.826, allocations: 20 kB / 1.185 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.8265, allocations: 287.4 kB / 1.185 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.8265, allocations: 0 / 1.185 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.8266, allocations: 12 kB / 1.185 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.8266, allocations: 11.88 kB / 1.185 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004404/0.827, allocations: 207.5 kB / 1.185 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.8288, allocations: 1.242 MB / 1.186 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.8292, allocations: 177 kB / 1.187 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.8294, allocations: 108.2 kB / 1.187 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008176/0.8302, allocations: 339.2 kB / 1.187 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.8302, allocations: 34.69 kB / 1.187 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.8302, allocations: 0 / 1.187 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0008167/0.8311, allocations: 281.1 kB / 1.187 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.434e-05/0.8312, allocations: 162.2 kB / 1.187 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.8315, allocations: 286.9 kB / 1.188 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.8316, allocations: 26.2 kB / 1.188 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.8317, allocations: 147.9 kB / 1.188 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.8317, allocations: 51.3 kB / 1.188 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.262e-05/0.8318, allocations: 41.7 kB / 1.188 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.832, allocations: 338.8 kB / 1.188 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.8322, allocations: 67.94 kB / 1.188 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.8324, allocations: 150 kB / 1.188 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.8328, allocations: 211.6 kB / 1.189 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8328, allocations: 3.938 kB / 1.189 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005493/0.8334, allocations: 253 kB / 1.189 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.8334, allocations: 4 kB / 1.189 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.8334, allocations: 4.047 kB / 1.189 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.8335, allocations: 7.984 kB / 1.189 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.8337, allocations: 35.97 kB / 1.189 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.8337, allocations: 11.94 kB / 1.189 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.8339, allocations: 32.08 kB / 1.189 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.834, allocations: 11.94 kB / 1.189 GB, free: 2.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.8341, allocations: 141.8 kB / 1.189 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.8343, allocations: 23.72 kB / 1.189 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005052/0.8348, allocations: 198 kB / 1.189 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.8348, allocations: 4 kB / 1.189 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.8348, allocations: 0 / 1.189 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.8348, allocations: 7.938 kB / 1.189 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.8359, allocations: 0.8471 MB / 1.19 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.8359, allocations: 4 kB / 1.19 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.836, allocations: 23.98 kB / 1.19 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.8361, allocations: 3.938 kB / 1.19 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.8361, allocations: 8.156 kB / 1.19 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.8361, allocations: 7.984 kB / 1.19 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.8361, allocations: 0 / 1.19 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005835/0.8367, allocations: 339.4 kB / 1.191 GB, free: 372 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.8369, allocations: 116.7 kB / 1.191 GB, free: 236 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.8369, allocations: 4 kB / 1.191 GB, free: 232 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.8371, allocations: 11.98 kB / 1.191 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.8372, allocations: 8.125 kB / 1.191 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.8372, allocations: 12.06 kB / 1.191 GB, free: 200 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002712/0.8374, allocations: 237.9 kB / 1.191 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8375, allocations: 0 / 1.191 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004827/0.8379, allocations: 95.84 kB / 1.191 GB, free: 15.87 MB / 0.9512 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.0005965/0.8385, allocations: 216.5 kB / 1.191 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.839, allocations: 155.8 kB / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.839, allocations: 0 / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.8392, allocations: 64.7 kB / 1.191 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007857/0.8399, allocations: 133.9 kB / 1.192 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009676/0.8409, allocations: 0.5954 MB / 1.192 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.8413, allocations: 0.7558 MB / 1.193 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.729e-05/0.8414, allocations: 27.42 kB / 1.193 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of SimCode: time 6.31e-07/0.8414, allocations: 3.938 kB / 1.193 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of Templates: time 0.008869/0.8503, allocations: 5.235 MB / 1.198 GB, free: 8.664 MB / 0.9512 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches