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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00154/0.00154, allocations: 116.1 kB / 16.42 MB, free: 6.039 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.001752/0.001752, allocations: 181.8 kB / 17.35 MB, free: 5.629 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.16/2.16, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 71.89 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7118/0.7131, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1731/0.8863, allocations: 163.2 MB / 1.248 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005254/0.8916, allocations: 4.569 MB / 1.253 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003383/0.8919, allocations: 7.938 kB / 1.253 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.8924, allocations: 123.1 kB / 1.253 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.8937, allocations: 0.564 MB / 1.253 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.8955, allocations: 0.7822 MB / 1.254 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006607/0.8961, allocations: 0.5768 MB / 1.255 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.8965, allocations: 205.2 kB / 1.255 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000956/0.8975, allocations: 490.1 kB / 1.255 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005274/0.898, allocations: 287 kB / 1.255 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.8981, allocations: 16 kB / 1.255 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.8996, allocations: 1.017 MB / 1.256 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.719e-05/0.8997, allocations: 91.67 kB / 1.257 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.8998, allocations: 127.4 kB / 1.257 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.9009, allocations: 0.7149 MB / 1.257 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.9009, allocations: 3.984 kB / 1.257 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9009, allocations: 0 / 1.257 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.9009, allocations: 0 / 1.257 GB, free: 0.875 MB / 0.9825 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.0008971/0.9018, allocations: 0.5841 MB / 1.258 GB, free: 248 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.9019, allocations: 12.03 kB / 1.258 GB, free: 236 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006744/0.9026, allocations: 83.56 kB / 1.258 GB, free: 152 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.903, allocations: 295.2 kB / 1.258 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.903, allocations: 12 kB / 1.258 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.9031, allocations: 20 kB / 1.258 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.9035, allocations: 287.5 kB / 1.259 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.9036, allocations: 3.938 kB / 1.259 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.9036, allocations: 4 kB / 1.259 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.9036, allocations: 7.938 kB / 1.259 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.904, allocations: 207.8 kB / 1.259 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.9055, allocations: 1.238 MB / 1.26 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.9058, allocations: 173 kB / 1.26 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.906, allocations: 112.2 kB / 1.26 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007186/0.9067, allocations: 343.3 kB / 1.261 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.9067, allocations: 42.55 kB / 1.261 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.9067, allocations: 0 / 1.261 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0007319/0.9075, allocations: 277.1 kB / 1.261 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.9075, allocations: 158.7 kB / 1.261 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.9078, allocations: 291 kB / 1.261 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.9078, allocations: 25.7 kB / 1.261 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.177e-05/0.9079, allocations: 143.9 kB / 1.262 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.908, allocations: 51.3 kB / 1.262 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-05/0.9081, allocations: 41.7 kB / 1.262 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.9082, allocations: 338.8 kB / 1.262 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.9083, allocations: 64.23 kB / 1.262 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.9086, allocations: 155.1 kB / 1.262 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.9089, allocations: 211.5 kB / 1.262 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9089, allocations: 3.938 kB / 1.262 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005089/0.9095, allocations: 245.1 kB / 1.263 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.9095, allocations: 4 kB / 1.263 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.9095, allocations: 4 kB / 1.263 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.9095, allocations: 4 kB / 1.263 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.9097, allocations: 44.16 kB / 1.263 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.9097, allocations: 8 kB / 1.263 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.9099, allocations: 27.73 kB / 1.263 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.91, allocations: 12 kB / 1.263 GB, free: 10.96 MB / 0.9981 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.0001256/0.9101, allocations: 153.6 kB / 1.263 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.9103, allocations: 27.7 kB / 1.263 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.9107, allocations: 185.8 kB / 1.263 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.9107, allocations: 0 / 1.263 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9107, allocations: 4 kB / 1.263 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/0.9108, allocations: 108.8 kB / 1.263 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.9109, allocations: 11.94 kB / 1.263 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.9111, allocations: 4 kB / 1.263 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.9112, allocations: 11.98 kB / 1.263 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004932/0.9117, allocations: 0.5253 MB / 1.264 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006521/0.9123, allocations: 0.6909 MB / 1.264 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000138/0.9125, allocations: 55.98 kB / 1.264 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002133/0.9127, allocations: 233.9 kB / 1.265 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of Backend: time 6.21e-07/0.9127, allocations: 0 / 1.265 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.9142, allocations: 411.1 kB / 1.265 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of SimCode: time 0.00133/0.9156, allocations: 1.018 MB / 1.266 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of Templates: time 0.01257/0.9281, allocations: 7.956 MB / 1.274 GB, free: 15.52 MB / 1.014 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 -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