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.001768/0.001768, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.497/1.497, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.783/2.783, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.91 kB / 0.8692 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6701/0.6721, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2013/0.8734, allocations: 163.2 MB / 1.177 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006154/0.8796, allocations: 4.566 MB / 1.181 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00044/0.8801, allocations: 7.938 kB / 1.181 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.8807, allocations: 127.1 kB / 1.181 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.8821, allocations: 0.5445 MB / 1.182 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.8841, allocations: 0.7666 MB / 1.183 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007105/0.8848, allocations: 0.5768 MB / 1.183 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003796/0.8852, allocations: 209.2 kB / 1.183 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009458/0.8861, allocations: 466.2 kB / 1.184 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005786/0.8867, allocations: 290.9 kB / 1.184 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.8868, allocations: 16 kB / 1.184 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.8886, allocations: 1.002 MB / 1.185 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.8887, allocations: 91.78 kB / 1.185 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.8889, allocations: 131.3 kB / 1.185 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.89, allocations: 0.7014 MB / 1.186 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.89, allocations: 0 / 1.186 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.332e-06/0.89, allocations: 0 / 1.186 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.89, allocations: 0 / 1.186 GB, free: 5.125 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.001008/0.891, allocations: 0.5972 MB / 1.187 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.8911, allocations: 8.031 kB / 1.187 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006768/0.8917, allocations: 83.58 kB / 1.187 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.8922, allocations: 287.3 kB / 1.187 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.8922, allocations: 12 kB / 1.187 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.8923, allocations: 27.98 kB / 1.187 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.8928, allocations: 287.4 kB / 1.187 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.8928, allocations: 7.938 kB / 1.187 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.8928, allocations: 4 kB / 1.187 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.8929, allocations: 7.938 kB / 1.187 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.8933, allocations: 215.5 kB / 1.187 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.895, allocations: 1.234 MB / 1.189 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.8953, allocations: 184.9 kB / 1.189 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.8956, allocations: 108.2 kB / 1.189 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007783/0.8964, allocations: 327.2 kB / 1.189 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.8964, allocations: 46.69 kB / 1.189 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.8964, allocations: 0 / 1.189 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0008252/0.8972, allocations: 273.1 kB / 1.19 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.556e-05/0.8973, allocations: 162.6 kB / 1.19 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.8977, allocations: 290.9 kB / 1.19 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.8977, allocations: 29.7 kB / 1.19 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.8978, allocations: 143.9 kB / 1.19 GB, free: 480 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.8979, allocations: 47.3 kB / 1.19 GB, free: 432 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/0.898, allocations: 41.7 kB / 1.19 GB, free: 384 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.8981, allocations: 338.8 kB / 1.191 GB, free: 36 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.8983, allocations: 67.94 kB / 1.191 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.8986, allocations: 149.8 kB / 1.191 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.899, allocations: 211.5 kB / 1.191 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.899, allocations: 0 / 1.191 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005375/0.8996, allocations: 245 kB / 1.191 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.8996, allocations: 12.31 kB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.8996, allocations: 0 / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.8996, allocations: 4 kB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.8998, allocations: 35.98 kB / 1.191 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.8998, allocations: 12.17 kB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.9, allocations: 27.84 kB / 1.191 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.9001, allocations: 19.91 kB / 1.191 GB, free: 15.2 MB / 0.9512 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.0001483/0.9002, allocations: 146.4 kB / 1.191 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.9004, allocations: 31.7 kB / 1.191 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.9009, allocations: 193.7 kB / 1.192 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.9009, allocations: 3.938 kB / 1.192 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.9009, allocations: 4 kB / 1.192 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.901, allocations: 0 / 1.192 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.902, allocations: 0.8511 MB / 1.192 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.902, allocations: 4 kB / 1.192 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.9021, allocations: 28.14 kB / 1.193 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.9022, allocations: 7.938 kB / 1.193 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.9022, allocations: 0 / 1.193 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.9022, allocations: 4 kB / 1.193 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9022, allocations: 0 / 1.193 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.9028, allocations: 339.4 kB / 1.193 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.9029, allocations: 116.7 kB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.903, allocations: 7.984 kB / 1.193 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.9031, allocations: 4 kB / 1.193 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.9032, allocations: 20.05 kB / 1.193 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.9032, allocations: 4 kB / 1.193 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002548/0.9035, allocations: 229.9 kB / 1.193 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9035, allocations: 0 / 1.193 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004828/0.904, allocations: 103.8 kB / 1.193 GB, free: 12.98 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.0005287/0.9045, allocations: 210.4 kB / 1.194 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004472/0.905, allocations: 155.8 kB / 1.194 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.905, allocations: 0.5 kB / 1.194 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.9051, allocations: 59.91 kB / 1.194 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007985/0.9059, allocations: 140.3 kB / 1.194 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008952/0.9068, allocations: 0.496 MB / 1.194 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.9072, allocations: 0.7635 MB / 1.195 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002165/0.9075, allocations: 70.86 kB / 1.195 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.9075, allocations: 27.44 kB / 1.195 GB, free: 11 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.9075, allocations: 0 / 1.195 GB, free: 11 MB / 0.9512 GB Notification: Performance of Templates: time 0.01163/0.9192, allocations: 5.81 MB / 1.201 GB, free: 5.262 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/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