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.001732/0.001732, 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.002234/0.002234, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.412/2.412, allocations: 390.2 MB / 0.6646 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7113/0.7126, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1839/0.8965, allocations: 163.2 MB / 1.109 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00621/0.9028, allocations: 4.573 MB / 1.113 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003836/0.9032, allocations: 15.94 kB / 1.113 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004745/0.9037, allocations: 119.1 kB / 1.114 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.9051, allocations: 0.5445 MB / 1.114 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.907, allocations: 0.7626 MB / 1.115 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0007164/0.9077, allocations: 0.5691 MB / 1.115 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.9081, allocations: 217.1 kB / 1.116 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009966/0.9091, allocations: 466.2 kB / 1.116 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006042/0.9097, allocations: 294.9 kB / 1.116 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.9097, allocations: 20 kB / 1.116 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.9116, allocations: 1.002 MB / 1.117 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.9118, allocations: 79.8 kB / 1.117 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.9119, allocations: 127.4 kB / 1.118 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.913, allocations: 0.7052 MB / 1.118 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.913, allocations: 0 / 1.118 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.502e-06/0.913, allocations: 0 / 1.118 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.913, allocations: 0 / 1.118 GB, free: 4.566 MB / 0.8731 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.0009558/0.914, allocations: 0.6017 MB / 1.119 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.9141, allocations: 12.03 kB / 1.119 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006783/0.9147, allocations: 79.58 kB / 1.119 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.9152, allocations: 279.3 kB / 1.119 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.9153, allocations: 12 kB / 1.119 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/0.9153, allocations: 24 kB / 1.119 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.9158, allocations: 283.4 kB / 1.119 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.9158, allocations: 7.922 kB / 1.119 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.9159, allocations: 8 kB / 1.119 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.9159, allocations: 7.938 kB / 1.119 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.9163, allocations: 203.7 kB / 1.12 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.9181, allocations: 1.253 MB / 1.121 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.9185, allocations: 177 kB / 1.121 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.9187, allocations: 112.2 kB / 1.121 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007785/0.9195, allocations: 331.2 kB / 1.122 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.9195, allocations: 42.67 kB / 1.122 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 3.597e-06/0.9196, allocations: 0 / 1.122 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.000808/0.9204, allocations: 277.5 kB / 1.122 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.9205, allocations: 166.2 kB / 1.122 GB, free: 376 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.9208, allocations: 283 kB / 1.122 GB, free: 80 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.9209, allocations: 25.7 kB / 1.122 GB, free: 48 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.921, allocations: 151.8 kB / 1.122 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.9211, allocations: 51.3 kB / 1.122 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.9211, allocations: 41.7 kB / 1.122 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.9213, allocations: 338.8 kB / 1.123 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.9214, allocations: 67.94 kB / 1.123 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.9217, allocations: 146.2 kB / 1.123 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.9221, allocations: 215.5 kB / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9221, allocations: 0 / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005223/0.9226, allocations: 241.1 kB / 1.123 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.9227, allocations: 4 kB / 1.123 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.9227, allocations: 4.25 kB / 1.123 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.9227, allocations: 8 kB / 1.123 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.9229, allocations: 39.91 kB / 1.124 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.9229, allocations: 4 kB / 1.124 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.9231, allocations: 27.73 kB / 1.124 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.9231, allocations: 15.94 kB / 1.124 GB, free: 14.64 MB / 0.8887 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.0001346/0.9233, allocations: 158.8 kB / 1.124 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.9235, allocations: 23.72 kB / 1.124 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.924, allocations: 197.6 kB / 1.124 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.9241, allocations: 8 kB / 1.124 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.9241, allocations: 0 / 1.124 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.9241, allocations: 0 / 1.124 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.9252, allocations: 0.851 MB / 1.125 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.9252, allocations: 0 / 1.125 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.9253, allocations: 27.98 kB / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.9253, allocations: 3.938 kB / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.9254, allocations: 4 kB / 1.125 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.9254, allocations: 3.984 kB / 1.125 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9254, allocations: 4 kB / 1.125 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006219/0.926, allocations: 335.5 kB / 1.125 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.9261, allocations: 124.6 kB / 1.125 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.9262, allocations: 8.062 kB / 1.125 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.9263, allocations: 8 kB / 1.125 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.9264, allocations: 7.984 kB / 1.125 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.9264, allocations: 4 kB / 1.125 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000234/0.9266, allocations: 233.9 kB / 1.125 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9266, allocations: 0 / 1.125 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004699/0.9271, allocations: 99.83 kB / 1.126 GB, free: 12.41 MB / 0.8887 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.0005522/0.9277, allocations: 228.2 kB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004282/0.9281, allocations: 156 kB / 1.126 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9281, allocations: 0 / 1.126 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.9283, allocations: 59.89 kB / 1.126 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000788/0.9291, allocations: 128.4 kB / 1.126 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008564/0.9299, allocations: 0.5001 MB / 1.127 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.9304, allocations: 0.7597 MB / 1.127 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002834/0.9307, allocations: 58.88 kB / 1.127 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.835e-05/0.9308, allocations: 31.44 kB / 1.127 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of SimCode: time 2.41e-07/0.9308, allocations: 0 / 1.127 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of Templates: time 0.01129/0.9421, allocations: 5.811 MB / 1.133 GB, free: 4.699 MB / 0.8887 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches