Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008723/0.0008723, allocations: 79.69 kB / 20.02 MB, free: 4.488 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 170 kB / 23.32 MB, free: 1.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9307/0.9307, allocations: 177.1 MB / 203.6 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.807/1.807, allocations: 388.6 MB / 0.6335 GB, free: 13.08 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 3.938 kB / 1 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.271e-05/3.444e-05, allocations: 2.281 kB / 1 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.727/0.7271, allocations: 143.8 MB / 1.141 GB, free: 11.04 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004971/0.732, allocations: 4.189 MB / 1.145 GB, free: 8.254 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003995/0.7324, allocations: 14.22 kB / 1.145 GB, free: 8.246 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004814/0.7329, allocations: 135.5 kB / 1.145 GB, free: 8.156 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.7343, allocations: 0.5666 MB / 1.146 GB, free: 7.859 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.7362, allocations: 0.8303 MB / 1.146 GB, free: 7.453 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0007067/0.7369, allocations: 0.5466 MB / 1.147 GB, free: 7.203 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.7373, allocations: 141.2 kB / 1.147 GB, free: 7.145 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.7391, allocations: 0.7341 MB / 1.148 GB, free: 6.816 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006129/0.7398, allocations: 276.6 kB / 1.148 GB, free: 6.727 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.7398, allocations: 18.47 kB / 1.148 GB, free: 6.727 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.7414, allocations: 0.8728 MB / 1.149 GB, free: 6.398 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.7416, allocations: 92.55 kB / 1.149 GB, free: 6.359 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.7417, allocations: 84.11 kB / 1.149 GB, free: 6.328 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.7432, allocations: 0.7275 MB / 1.15 GB, free: 6.098 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7432, allocations: 1.312 kB / 1.15 GB, free: 6.098 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.983e-06/0.7432, allocations: 3.938 kB / 1.15 GB, free: 6.094 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.7433, allocations: 0 / 1.15 GB, free: 6.094 MB / 1.01 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.001083/0.7443, allocations: 0.5271 MB / 1.15 GB, free: 5.668 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.7444, allocations: 11.02 kB / 1.15 GB, free: 5.668 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004599/0.7448, allocations: 84.84 kB / 1.151 GB, free: 5.641 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.7452, allocations: 227.1 kB / 1.151 GB, free: 5.461 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.7452, allocations: 12.53 kB / 1.151 GB, free: 5.457 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.7453, allocations: 22.69 kB / 1.151 GB, free: 5.449 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/0.7457, allocations: 287.1 kB / 1.151 GB, free: 5.289 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.7457, allocations: 0.6094 kB / 1.151 GB, free: 5.289 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.7458, allocations: 10.45 kB / 1.151 GB, free: 5.281 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.7458, allocations: 5.062 kB / 1.151 GB, free: 5.281 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.7461, allocations: 208.4 kB / 1.151 GB, free: 5.219 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.7473, allocations: 1.094 MB / 1.152 GB, free: 4.332 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.7475, allocations: 177.7 kB / 1.152 GB, free: 4.176 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.7477, allocations: 106.7 kB / 1.153 GB, free: 4.117 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004193/0.7481, allocations: 105.1 kB / 1.153 GB, free: 4.105 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.7481, allocations: 42.98 kB / 1.153 GB, free: 4.062 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.7481, allocations: 0 / 1.153 GB, free: 4.062 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0005741/0.7487, allocations: 272.5 kB / 1.153 GB, free: 3.961 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.7488, allocations: 161.6 kB / 1.153 GB, free: 3.77 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.749, allocations: 201.4 kB / 1.153 GB, free: 3.637 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.749, allocations: 26.8 kB / 1.153 GB, free: 3.605 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.7491, allocations: 167.3 kB / 1.154 GB, free: 3.461 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.7491, allocations: 44.78 kB / 1.154 GB, free: 3.426 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.651e-05/0.7492, allocations: 44.44 kB / 1.154 GB, free: 3.398 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.7493, allocations: 329.4 kB / 1.154 GB, free: 3.078 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.7494, allocations: 65.91 kB / 1.154 GB, free: 3.062 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.7496, allocations: 247.8 kB / 1.154 GB, free: 2.836 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.7499, allocations: 207.9 kB / 1.154 GB, free: 2.715 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7499, allocations: 5.188 kB / 1.154 GB, free: 2.711 MB / 1.01 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003572/0.7502, allocations: 241 kB / 1.155 GB, free: 2.609 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.7503, allocations: 6.625 kB / 1.155 GB, free: 2.609 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.7503, allocations: 2.125 kB / 1.155 GB, free: 2.609 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.7503, allocations: 5.156 kB / 1.155 GB, free: 2.609 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.7504, allocations: 43.41 kB / 1.155 GB, free: 2.602 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.7504, allocations: 4 kB / 1.155 GB, free: 2.602 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.7505, allocations: 23.69 kB / 1.155 GB, free: 2.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.7506, allocations: 13.48 kB / 1.155 GB, free: 2.586 MB / 1.01 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.0001223/0.7507, allocations: 144.9 kB / 1.155 GB, free: 2.457 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.055e-05/0.7508, allocations: 22.61 kB / 1.155 GB, free: 2.445 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003445/0.7511, allocations: 180.2 kB / 1.155 GB, free: 2.34 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.7511, allocations: 2.094 kB / 1.155 GB, free: 2.34 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7511, allocations: 2 kB / 1.155 GB, free: 2.34 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.7511, allocations: 1.688 kB / 1.155 GB, free: 2.34 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009886/0.7521, allocations: 0.7815 MB / 1.156 GB, free: 1.68 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7521, allocations: 5.062 kB / 1.156 GB, free: 1.676 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.98e-05/0.7522, allocations: 27.41 kB / 1.156 GB, free: 1.672 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.7522, allocations: 2 kB / 1.156 GB, free: 1.672 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.7522, allocations: 2.859 kB / 1.156 GB, free: 1.672 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.7522, allocations: 2.969 kB / 1.156 GB, free: 1.672 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7522, allocations: 1.312 kB / 1.156 GB, free: 1.672 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.7526, allocations: 337.1 kB / 1.156 GB, free: 1.438 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.7527, allocations: 23.83 kB / 1.156 GB, free: 1.426 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.7527, allocations: 7.203 kB / 1.156 GB, free: 1.426 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.7528, allocations: 11.97 kB / 1.156 GB, free: 1.422 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.7529, allocations: 24.09 kB / 1.156 GB, free: 1.406 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.7529, allocations: 4.219 kB / 1.156 GB, free: 1.406 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001456/0.753, allocations: 168.7 kB / 1.156 GB, free: 1.305 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.753, allocations: 4 kB / 1.156 GB, free: 1.301 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005176/0.7535, allocations: 107.9 kB / 1.157 GB, free: 1.273 MB / 1.01 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.0004402/0.754, allocations: 211.8 kB / 1.157 GB, free: 1.156 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003043/0.7543, allocations: 153.6 kB / 1.157 GB, free: 1.113 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7543, allocations: 1.344 kB / 1.157 GB, free: 1.113 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 9.927e-05/0.7544, allocations: 56.67 kB / 1.157 GB, free: 1.098 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.7547, allocations: 61.48 kB / 1.157 GB, free: 1.082 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007236/0.7555, allocations: 452.4 kB / 1.157 GB, free: 0.7656 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.7556, allocations: 143.9 kB / 1.158 GB, free: 0.6914 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001386/0.7557, allocations: 61.39 kB / 1.158 GB, free: 0.6719 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.7558, allocations: 28.41 kB / 1.158 GB, free: 0.6562 MB / 1.01 GB Notification: Performance of SimCode: time 6.92e-07/0.7558, allocations: 3.938 kB / 1.158 GB, free: 0.6523 MB / 1.01 GB Notification: Performance of Templates: time 0.008311/0.7641, allocations: 4.18 MB / 1.162 GB, free: 220 kB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.381497334688902]