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.00116/0.001161, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001145/0.001145, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.561/2.561, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.7472, allocations: 151.6 MB / 1.167 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1615/0.9087, allocations: 163.2 MB / 1.327 GB, free: 52 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005194/0.9139, allocations: 4.572 MB / 1.331 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.9142, allocations: 11.94 kB / 1.331 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.9146, allocations: 127 kB / 1.331 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.9158, allocations: 0.5563 MB / 1.332 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.9174, allocations: 0.7855 MB / 1.333 GB, free: 9.988 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005694/0.918, allocations: 0.5768 MB / 1.333 GB, free: 9.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003184/0.9183, allocations: 213.2 kB / 1.333 GB, free: 9.199 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008389/0.9192, allocations: 486.2 kB / 1.334 GB, free: 8.723 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004835/0.9197, allocations: 290.8 kB / 1.334 GB, free: 8.438 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.9197, allocations: 20 kB / 1.334 GB, free: 8.418 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.9212, allocations: 1.002 MB / 1.335 GB, free: 7.414 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.9213, allocations: 95.77 kB / 1.335 GB, free: 7.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.9214, allocations: 131.3 kB / 1.335 GB, free: 7.191 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009483/0.9224, allocations: 0.711 MB / 1.336 GB, free: 6.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9224, allocations: 0 / 1.336 GB, free: 6.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9224, allocations: 0 / 1.336 GB, free: 6.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.9224, allocations: 4 kB / 1.336 GB, free: 6.477 MB / 1.061 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.0009025/0.9233, allocations: 0.5879 MB / 1.337 GB, free: 5.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.9234, allocations: 12.92 kB / 1.337 GB, free: 5.828 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007084/0.9241, allocations: 75.5 kB / 1.337 GB, free: 5.754 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.9245, allocations: 299.4 kB / 1.337 GB, free: 5.422 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.9246, allocations: 19.95 kB / 1.337 GB, free: 5.402 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.9246, allocations: 19.91 kB / 1.337 GB, free: 5.383 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.9251, allocations: 287.4 kB / 1.337 GB, free: 5.074 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.9251, allocations: 0 / 1.337 GB, free: 5.074 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.9252, allocations: 12 kB / 1.337 GB, free: 5.062 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.9252, allocations: 7.938 kB / 1.337 GB, free: 5.055 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.9256, allocations: 213.3 kB / 1.338 GB, free: 4.848 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.9271, allocations: 1.241 MB / 1.339 GB, free: 3.527 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.9274, allocations: 173 kB / 1.339 GB, free: 3.312 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.9276, allocations: 108.2 kB / 1.339 GB, free: 3.191 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000712/0.9283, allocations: 331.2 kB / 1.339 GB, free: 2.812 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.9283, allocations: 42.67 kB / 1.339 GB, free: 2.762 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.9283, allocations: 4 kB / 1.339 GB, free: 2.758 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.000753/0.9291, allocations: 273.1 kB / 1.34 GB, free: 2.484 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.9292, allocations: 162.2 kB / 1.34 GB, free: 2.289 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.9294, allocations: 287.5 kB / 1.34 GB, free: 2.008 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.9295, allocations: 29.7 kB / 1.34 GB, free: 1.973 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.9296, allocations: 151.8 kB / 1.34 GB, free: 1.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.9296, allocations: 51.69 kB / 1.34 GB, free: 1.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-05/0.9297, allocations: 41.62 kB / 1.34 GB, free: 1.723 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.9298, allocations: 338.8 kB / 1.341 GB, free: 1.383 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.93, allocations: 63.94 kB / 1.341 GB, free: 1.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.9302, allocations: 154.8 kB / 1.341 GB, free: 1.141 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.9306, allocations: 215.5 kB / 1.341 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.9306, allocations: 0 / 1.341 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004851/0.9311, allocations: 241.1 kB / 1.341 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.9311, allocations: 8 kB / 1.341 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9311, allocations: 4 kB / 1.341 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.9311, allocations: 0 / 1.341 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.9313, allocations: 43.91 kB / 1.341 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.9313, allocations: 0 / 1.341 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.9315, allocations: 35.98 kB / 1.341 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.9315, allocations: 8 kB / 1.341 GB, free: 0.5625 MB / 1.061 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.0001266/0.9317, allocations: 157.6 kB / 1.342 GB, free: 408 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.9318, allocations: 23.72 kB / 1.342 GB, free: 384 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004458/0.9323, allocations: 189.8 kB / 1.342 GB, free: 176 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.9323, allocations: 0 / 1.342 GB, free: 176 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.9323, allocations: 4 kB / 1.342 GB, free: 172 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.9324, allocations: 108.8 kB / 1.342 GB, free: 44 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.9325, allocations: 7.938 kB / 1.342 GB, free: 36 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.9327, allocations: 12 kB / 1.342 GB, free: 24 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.9328, allocations: 7.984 kB / 1.342 GB, free: 16 kB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005111/0.9333, allocations: 0.5369 MB / 1.342 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006364/0.9339, allocations: 0.6714 MB / 1.343 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001503/0.9341, allocations: 59.92 kB / 1.343 GB, free: 14.72 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00021/0.9343, allocations: 233.9 kB / 1.343 GB, free: 14.49 MB / 1.076 GB Notification: Performance of Backend: time 4.21e-07/0.9343, allocations: 0 / 1.343 GB, free: 14.49 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.9358, allocations: 416.1 kB / 1.344 GB, free: 14.09 MB / 1.076 GB Notification: Performance of SimCode: time 0.001337/0.9371, allocations: 1.023 MB / 1.345 GB, free: 13.01 MB / 1.076 GB Notification: Performance of Templates: time 0.01276/0.9499, allocations: 7.975 MB / 1.353 GB, free: 5.098 MB / 1.076 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/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