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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009696/0.0009695, allocations: 99.58 kB / 16.02 MB, free: 76 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.001157/0.001157, allocations: 187.4 kB / 16.92 MB, free: 6.75 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.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.67/2.67, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.0004062, allocations: 19.98 kB / 0.8735 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7455/0.7459, allocations: 153.8 MB / 1.024 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1784/0.9244, allocations: 158.9 MB / 1.179 GB, free: 440 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006049/0.9305, allocations: 4.563 MB / 1.183 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004139/0.9309, allocations: 7.938 kB / 1.183 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004883/0.9315, allocations: 103.3 kB / 1.183 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.9331, allocations: 0.5097 MB / 1.184 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.9351, allocations: 0.7009 MB / 1.185 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009876/0.9361, allocations: 0.8108 MB / 1.185 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004134/0.9365, allocations: 177.5 kB / 1.186 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.9377, allocations: 426.4 kB / 1.186 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007003/0.9384, allocations: 290.9 kB / 1.186 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.9384, allocations: 8 kB / 1.186 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.9404, allocations: 1.169 MB / 1.187 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.9406, allocations: 83.77 kB / 1.187 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.9407, allocations: 145 kB / 1.188 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008988/0.9417, allocations: 498.9 kB / 1.188 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9417, allocations: 0 / 1.188 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.519e-06/0.9417, allocations: 4 kB / 1.188 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.9417, allocations: 0 / 1.188 GB, free: 6.934 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.00109/0.9428, allocations: 0.5491 MB / 1.189 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.9428, allocations: 8.031 kB / 1.189 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007617/0.9436, allocations: 83.48 kB / 1.189 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/0.9441, allocations: 283.4 kB / 1.189 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.9441, allocations: 12 kB / 1.189 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.9442, allocations: 20 kB / 1.189 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/0.9447, allocations: 303.3 kB / 1.189 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.9448, allocations: 0 / 1.189 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.9448, allocations: 8 kB / 1.189 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.9448, allocations: 15.88 kB / 1.189 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/0.9453, allocations: 219.5 kB / 1.19 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.947, allocations: 1.245 MB / 1.191 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.9473, allocations: 192.9 kB / 1.191 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.9475, allocations: 116.2 kB / 1.191 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000789/0.9483, allocations: 347.2 kB / 1.191 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.9484, allocations: 42.67 kB / 1.191 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.9484, allocations: 0 / 1.191 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0008293/0.9492, allocations: 293.4 kB / 1.192 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.9493, allocations: 162.4 kB / 1.192 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.9496, allocations: 283 kB / 1.192 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.9497, allocations: 29.7 kB / 1.192 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.9498, allocations: 143.9 kB / 1.192 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.9498, allocations: 47.3 kB / 1.192 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.9499, allocations: 21.7 kB / 1.192 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.95, allocations: 342.8 kB / 1.193 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.9502, allocations: 75.94 kB / 1.193 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.9504, allocations: 146.3 kB / 1.193 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/0.9508, allocations: 227.5 kB / 1.193 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.9508, allocations: 4 kB / 1.193 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005521/0.9514, allocations: 261.1 kB / 1.193 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.9514, allocations: 7.938 kB / 1.193 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.9514, allocations: 4 kB / 1.193 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.9515, allocations: 0 / 1.193 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.9517, allocations: 36.23 kB / 1.193 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.9517, allocations: 8 kB / 1.193 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.9519, allocations: 28.2 kB / 1.193 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.9519, allocations: 23.86 kB / 1.193 GB, free: 0.9688 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.0001403/0.9521, allocations: 141.8 kB / 1.194 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.9522, allocations: 23.72 kB / 1.194 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005005/0.9527, allocations: 217.6 kB / 1.194 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.9528, allocations: 0 / 1.194 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.9528, allocations: 4 kB / 1.194 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.9528, allocations: 3.938 kB / 1.194 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009751/0.9538, allocations: 0.8588 MB / 1.195 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9538, allocations: 0 / 1.195 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.9539, allocations: 23.98 kB / 1.195 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.9539, allocations: 12.09 kB / 1.195 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.9539, allocations: 4.125 kB / 1.195 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.9539, allocations: 4 kB / 1.195 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9539, allocations: 0 / 1.195 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/0.9545, allocations: 359.4 kB / 1.195 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.9546, allocations: 128.6 kB / 1.195 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.9547, allocations: 8.062 kB / 1.195 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.9549, allocations: 15.98 kB / 1.195 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.9549, allocations: 7.984 kB / 1.195 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.9549, allocations: 4 kB / 1.195 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002361/0.9552, allocations: 237.9 kB / 1.195 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9552, allocations: 0 / 1.195 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006228/0.9558, allocations: 92 kB / 1.196 GB, free: 14.7 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.0006573/0.9565, allocations: 221.7 kB / 1.196 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004085/0.9569, allocations: 155.8 kB / 1.196 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9569, allocations: 0 / 1.196 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.9571, allocations: 72.7 kB / 1.196 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008567/0.9579, allocations: 135.8 kB / 1.196 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008595/0.9588, allocations: 0.6176 MB / 1.197 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.9591, allocations: 0.7599 MB / 1.197 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.9592, allocations: 23.44 kB / 1.197 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of SimCode: time 1.593e-06/0.9592, allocations: 0 / 1.197 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of Templates: time 0.007988/0.9672, allocations: 5.191 MB / 1.203 GB, free: 7.488 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=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