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.004887/0.004887, allocations: 103.8 kB / 15.74 MB, free: 6.449 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.00107/0.00107, allocations: 195.8 kB / 16.67 MB, free: 6.355 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.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.899/2.899, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 67.91 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3376, allocations: 151.6 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.9765/1.314, allocations: 163.2 MB / 1.326 GB, free: 6.391 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007499/1.322, allocations: 4.581 MB / 1.331 GB, free: 3.141 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007365/1.323, allocations: 10.5 kB / 1.331 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007697/1.323, allocations: 129.1 kB / 1.331 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002795/1.326, allocations: 0.5579 MB / 1.331 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00316/1.329, allocations: 0.7815 MB / 1.332 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001183/1.331, allocations: 0.5857 MB / 1.333 GB, free: 2.109 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007336/1.331, allocations: 206 kB / 1.333 GB, free: 2.027 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/1.333, allocations: 483.3 kB / 1.333 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008115/1.334, allocations: 297.2 kB / 1.333 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.873e-05/1.334, allocations: 21.56 kB / 1.333 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/1.337, allocations: 1.003 MB / 1.334 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/1.337, allocations: 90.22 kB / 1.335 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002823/1.337, allocations: 128.2 kB / 1.335 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002535/1.34, allocations: 0.7132 MB / 1.335 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.34, allocations: 1.188 kB / 1.335 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.836e-06/1.34, allocations: 0 / 1.335 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.891e-05/1.34, allocations: 0 / 1.335 GB, free: 0.9531 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.001865/1.342, allocations: 0.6082 MB / 1.336 GB, free: 440 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/1.342, allocations: 9.281 kB / 1.336 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008819/1.343, allocations: 81.52 kB / 1.336 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005904/1.343, allocations: 297.5 kB / 1.336 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/1.343, allocations: 23.83 kB / 1.336 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/1.343, allocations: 16.88 kB / 1.336 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006252/1.344, allocations: 281.4 kB / 1.337 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.344, allocations: 0 / 1.337 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/1.344, allocations: 10.62 kB / 1.337 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/1.344, allocations: 12.12 kB / 1.337 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/1.344, allocations: 202.1 kB / 1.337 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/1.347, allocations: 1.249 MB / 1.338 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/1.347, allocations: 171.7 kB / 1.338 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/1.347, allocations: 114.4 kB / 1.338 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000799/1.348, allocations: 331 kB / 1.339 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/1.348, allocations: 39.45 kB / 1.339 GB, free: 14.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/1.348, allocations: 1.281 kB / 1.339 GB, free: 14.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008555/1.349, allocations: 277.5 kB / 1.339 GB, free: 14.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/1.349, allocations: 161.3 kB / 1.339 GB, free: 14.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/1.349, allocations: 289.8 kB / 1.339 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/1.349, allocations: 27.17 kB / 1.339 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/1.35, allocations: 149.9 kB / 1.34 GB, free: 13.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/1.35, allocations: 43.3 kB / 1.34 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.763e-05/1.35, allocations: 42.05 kB / 1.34 GB, free: 13.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.35, allocations: 340.6 kB / 1.34 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/1.35, allocations: 80.08 kB / 1.34 GB, free: 13.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/1.35, allocations: 142.4 kB / 1.34 GB, free: 13.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003964/1.351, allocations: 207.4 kB / 1.34 GB, free: 13.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/1.351, allocations: 9.062 kB / 1.34 GB, free: 13.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005779/1.351, allocations: 240.8 kB / 1.341 GB, free: 12.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.351, allocations: 8.797 kB / 1.341 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.351, allocations: 2.625 kB / 1.341 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.351, allocations: 2.969 kB / 1.341 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/1.352, allocations: 41.86 kB / 1.341 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.352, allocations: 2.344 kB / 1.341 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/1.352, allocations: 38.22 kB / 1.341 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/1.352, allocations: 12.39 kB / 1.341 GB, free: 12.96 MB / 1.029 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.0001742/1.352, allocations: 151.2 kB / 1.341 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/1.352, allocations: 24.61 kB / 1.341 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/1.353, allocations: 185.5 kB / 1.341 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.353, allocations: 2.375 kB / 1.341 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.353, allocations: 1.375 kB / 1.341 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.353, allocations: 9.281 kB / 1.341 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/1.354, allocations: 0.856 MB / 1.342 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.354, allocations: 5.969 kB / 1.342 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/1.354, allocations: 25.59 kB / 1.342 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.354, allocations: 6.406 kB / 1.342 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/1.354, allocations: 5.422 kB / 1.342 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.354, allocations: 1.469 kB / 1.342 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.354, allocations: 1.531 kB / 1.342 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006212/1.355, allocations: 347.8 kB / 1.342 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.355, allocations: 107 kB / 1.342 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/1.355, allocations: 10.45 kB / 1.342 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/1.355, allocations: 8.938 kB / 1.342 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/1.355, allocations: 17.11 kB / 1.342 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/1.355, allocations: 3.25 kB / 1.342 GB, free: 11.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002962/1.356, allocations: 236.8 kB / 1.343 GB, free: 11.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.61e-07/1.356, allocations: 0 / 1.343 GB, free: 11.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006346/1.356, allocations: 104.8 kB / 1.343 GB, free: 11.43 MB / 1.029 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.0007447/1.357, allocations: 216.2 kB / 1.343 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004553/1.357, allocations: 149.8 kB / 1.343 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.357, allocations: 4.062 kB / 1.343 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/1.358, allocations: 62.53 kB / 1.343 GB, free: 11.26 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008331/1.358, allocations: 138.6 kB / 1.343 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/1.359, allocations: 0.4911 MB / 1.344 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/1.36, allocations: 0.759 MB / 1.345 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000243/1.36, allocations: 71.06 kB / 1.345 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/1.36, allocations: 24.92 kB / 1.345 GB, free: 10.14 MB / 1.029 GB Notification: Performance of SimCode: time 2.31e-07/1.36, allocations: 1.156 kB / 1.345 GB, free: 10.14 MB / 1.029 GB Notification: Performance of Templates: time 0.01285/1.373, allocations: 5.839 MB / 1.35 GB, free: 9.398 MB / 1.029 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches