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.01029/0.01029, allocations: 96.31 kB / 15.73 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.001991/0.001991, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.598/2.598, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.81 kB / 0.9509 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.338, allocations: 140.4 MB / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.216/0.554, allocations: 163.2 MB / 1.247 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005855/0.5599, allocations: 4.58 MB / 1.252 GB, free: 8.984 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005271/0.5605, allocations: 11.94 kB / 1.252 GB, free: 8.973 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000635/0.5612, allocations: 131 kB / 1.252 GB, free: 8.844 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.5631, allocations: 0.5602 MB / 1.252 GB, free: 8.281 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002393/0.5655, allocations: 0.7735 MB / 1.253 GB, free: 7.508 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008526/0.5664, allocations: 0.5807 MB / 1.254 GB, free: 6.926 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004356/0.5668, allocations: 209.2 kB / 1.254 GB, free: 6.719 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.5681, allocations: 486.2 kB / 1.254 GB, free: 6.242 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006286/0.5687, allocations: 294.8 kB / 1.255 GB, free: 5.953 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.5688, allocations: 16 kB / 1.255 GB, free: 5.938 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.5707, allocations: 1.005 MB / 1.256 GB, free: 4.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.5709, allocations: 91.78 kB / 1.256 GB, free: 4.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.571, allocations: 127.3 kB / 1.256 GB, free: 4.715 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.5725, allocations: 0.7088 MB / 1.257 GB, free: 4.004 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5725, allocations: 8 kB / 1.257 GB, free: 3.996 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5725, allocations: 0 / 1.257 GB, free: 3.996 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.5726, allocations: 3.938 kB / 1.257 GB, free: 3.992 MB / 1.014 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.001314/0.5739, allocations: 0.6066 MB / 1.257 GB, free: 3.336 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.5739, allocations: 8.031 kB / 1.257 GB, free: 3.328 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007776/0.5747, allocations: 75.73 kB / 1.257 GB, free: 3.254 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.5752, allocations: 307.4 kB / 1.258 GB, free: 2.914 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.5752, allocations: 16 kB / 1.258 GB, free: 2.898 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.232e-05/0.5753, allocations: 20 kB / 1.258 GB, free: 2.879 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.5759, allocations: 283.4 kB / 1.258 GB, free: 2.574 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.5759, allocations: 0 / 1.258 GB, free: 2.574 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.5759, allocations: 8 kB / 1.258 GB, free: 2.566 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.5759, allocations: 11.94 kB / 1.258 GB, free: 2.555 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004213/0.5764, allocations: 207.7 kB / 1.258 GB, free: 2.352 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.578, allocations: 1.234 MB / 1.259 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.5783, allocations: 177 kB / 1.26 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.5785, allocations: 112.4 kB / 1.26 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007418/0.5792, allocations: 335.2 kB / 1.26 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.5793, allocations: 30.56 kB / 1.26 GB, free: 280 kB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 2.645e-06/0.5793, allocations: 0 / 1.26 GB, free: 280 kB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.6245/1.204, allocations: 283.7 kB / 1.26 GB, free: 176.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/1.204, allocations: 164.1 kB / 1.26 GB, free: 176.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/1.204, allocations: 284.5 kB / 1.261 GB, free: 176.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.256e-05/1.204, allocations: 30.94 kB / 1.261 GB, free: 176.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/1.205, allocations: 148.7 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/1.205, allocations: 48.67 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.976e-05/1.205, allocations: 41.23 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.81e-05/1.205, allocations: 339 kB / 1.261 GB, free: 175.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/1.205, allocations: 68.08 kB / 1.261 GB, free: 175.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/1.205, allocations: 143.9 kB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/1.206, allocations: 216.9 kB / 1.262 GB, free: 175.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.206, allocations: 0.9375 kB / 1.262 GB, free: 175.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005829/1.206, allocations: 252.9 kB / 1.262 GB, free: 175.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.206, allocations: 6.578 kB / 1.262 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/1.206, allocations: 2.438 kB / 1.262 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.206, allocations: 3.625 kB / 1.262 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/1.207, allocations: 41.31 kB / 1.262 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/1.207, allocations: 4.219 kB / 1.262 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/1.207, allocations: 29.78 kB / 1.262 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/1.207, allocations: 12.5 kB / 1.262 GB, free: 175.5 MB / 1.014 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.0001307/1.207, allocations: 145.1 kB / 1.262 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/1.207, allocations: 28.92 kB / 1.262 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005174/1.208, allocations: 195.1 kB / 1.262 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.208, allocations: 8.344 kB / 1.262 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/1.208, allocations: 2.031 kB / 1.262 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/1.208, allocations: 1.703 kB / 1.262 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000979/1.209, allocations: 0.8624 MB / 1.263 GB, free: 174.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.209, allocations: 1.938 kB / 1.263 GB, free: 174.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/1.209, allocations: 24.53 kB / 1.263 GB, free: 174.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/1.209, allocations: 2.094 kB / 1.263 GB, free: 174.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/1.209, allocations: 3.062 kB / 1.263 GB, free: 174.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.209, allocations: 3.156 kB / 1.263 GB, free: 174.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.209, allocations: 5.562 kB / 1.263 GB, free: 174.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/1.21, allocations: 337.8 kB / 1.264 GB, free: 174.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.056e-05/1.21, allocations: 117.2 kB / 1.264 GB, free: 174.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/1.21, allocations: 5.656 kB / 1.264 GB, free: 174.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/1.21, allocations: 9.234 kB / 1.264 GB, free: 174.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/1.21, allocations: 13.59 kB / 1.264 GB, free: 174.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/1.21, allocations: 4.734 kB / 1.264 GB, free: 174.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003087/1.21, allocations: 234.9 kB / 1.264 GB, free: 174.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.21, allocations: 0 / 1.264 GB, free: 174.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005819/1.211, allocations: 100.2 kB / 1.264 GB, free: 174.3 MB / 1.014 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.0006889/1.212, allocations: 226.7 kB / 1.264 GB, free: 174.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004924/1.212, allocations: 159 kB / 1.264 GB, free: 174.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.212, allocations: 1.156 kB / 1.264 GB, free: 174.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/1.212, allocations: 58.98 kB / 1.264 GB, free: 174.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008408/1.213, allocations: 127.1 kB / 1.265 GB, free: 174.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008888/1.214, allocations: 0.4982 MB / 1.265 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/1.214, allocations: 0.7591 MB / 1.266 GB, free: 173.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002024/1.215, allocations: 66.09 kB / 1.266 GB, free: 173.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/1.215, allocations: 25.22 kB / 1.266 GB, free: 173.2 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/1.215, allocations: 0 / 1.266 GB, free: 173.2 MB / 1.014 GB Notification: Performance of Templates: time 0.01549/1.23, allocations: 5.829 MB / 1.272 GB, free: 172.8 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/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