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.001202/0.001203, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001253/0.001253, allocations: 200.6 kB / 16.91 MB, free: 6.195 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.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.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.294/2.294, allocations: 390.2 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 71.81 kB / 0.8127 GB, free: 33.36 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2791, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.6961/0.9752, allocations: 161 MB / 1.107 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005683/0.981, allocations: 4.565 MB / 1.111 GB, free: 6 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005518/0.9815, allocations: 10.28 kB / 1.111 GB, free: 6 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004865/0.982, allocations: 101.2 kB / 1.112 GB, free: 6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.9837, allocations: 0.504 MB / 1.112 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.986, allocations: 0.7123 MB / 1.113 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.9874, allocations: 0.5829 MB / 1.113 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005112/0.988, allocations: 205.7 kB / 1.114 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.9896, allocations: 459.3 kB / 1.114 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008941/0.9905, allocations: 298.7 kB / 1.114 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.9906, allocations: 18.91 kB / 1.114 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003206/0.9938, allocations: 1.049 MB / 1.115 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.994, allocations: 91.52 kB / 1.115 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.9943, allocations: 122.8 kB / 1.115 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.9957, allocations: 0.4904 MB / 1.116 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.9957, allocations: 1.312 kB / 1.116 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9957, allocations: 1.094 kB / 1.116 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.9957, allocations: 0 / 1.116 GB, free: 5.855 MB / 0.8575 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.001508/0.9972, allocations: 0.5974 MB / 1.117 GB, free: 21.39 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.9973, allocations: 9.594 kB / 1.117 GB, free: 21.39 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.9983, allocations: 76.73 kB / 1.117 GB, free: 21.38 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.9989, allocations: 284.8 kB / 1.117 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.9989, allocations: 14.72 kB / 1.117 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.668e-05/0.999, allocations: 20.34 kB / 1.117 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007329/0.9998, allocations: 283.8 kB / 1.117 GB, free: 21.06 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.9998, allocations: 0 / 1.117 GB, free: 21.06 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.9998, allocations: 9.531 kB / 1.117 GB, free: 21.06 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.9999, allocations: 9.094 kB / 1.117 GB, free: 21.05 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006634/1.001, allocations: 210 kB / 1.117 GB, free: 21.05 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/1.003, allocations: 1.243 MB / 1.119 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/1.003, allocations: 174.1 kB / 1.119 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/1.003, allocations: 119.5 kB / 1.119 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/1.005, allocations: 336.1 kB / 1.119 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.005, allocations: 39.78 kB / 1.119 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 2.915e-06/1.005, allocations: 0 / 1.119 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.001193/1.006, allocations: 277.6 kB / 1.12 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.006, allocations: 160.5 kB / 1.12 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/1.006, allocations: 287.1 kB / 1.12 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/1.007, allocations: 26.95 kB / 1.12 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/1.007, allocations: 152.6 kB / 1.12 GB, free: 19.24 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/1.007, allocations: 43.81 kB / 1.12 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/1.007, allocations: 41.16 kB / 1.12 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001794/1.007, allocations: 343.8 kB / 1.121 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/1.007, allocations: 64.92 kB / 1.121 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/1.008, allocations: 146.9 kB / 1.121 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/1.008, allocations: 214.7 kB / 1.121 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.008, allocations: 1.062 kB / 1.121 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007734/1.009, allocations: 246 kB / 1.121 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/1.009, allocations: 6.703 kB / 1.121 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.009, allocations: 5.438 kB / 1.121 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/1.009, allocations: 5.156 kB / 1.121 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/1.009, allocations: 37.25 kB / 1.121 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/1.009, allocations: 3.75 kB / 1.121 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/1.01, allocations: 34.88 kB / 1.121 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/1.01, allocations: 9.453 kB / 1.121 GB, free: 18.66 MB / 0.8731 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.0002027/1.01, allocations: 152.9 kB / 1.121 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/1.01, allocations: 28.59 kB / 1.121 GB, free: 18.53 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000697/1.011, allocations: 198 kB / 1.122 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.011, allocations: 4.078 kB / 1.122 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.011, allocations: 1.125 kB / 1.122 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/1.011, allocations: 2.188 kB / 1.122 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/1.013, allocations: 0.8525 MB / 1.122 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/1.013, allocations: 1.578 kB / 1.122 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/1.013, allocations: 22.38 kB / 1.123 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/1.013, allocations: 5.094 kB / 1.123 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/1.013, allocations: 3.281 kB / 1.123 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/1.013, allocations: 6.188 kB / 1.123 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.013, allocations: 3.281 kB / 1.123 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008253/1.014, allocations: 339.8 kB / 1.123 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/1.014, allocations: 115.3 kB / 1.123 GB, free: 17.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-05/1.014, allocations: 7.453 kB / 1.123 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/1.014, allocations: 12.78 kB / 1.123 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/1.014, allocations: 7.031 kB / 1.123 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/1.014, allocations: 8.109 kB / 1.123 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003931/1.015, allocations: 235 kB / 1.123 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.4e-07/1.015, allocations: 0 / 1.123 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009235/1.016, allocations: 97.42 kB / 1.123 GB, free: 17.41 MB / 0.8731 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.0008542/1.017, allocations: 229.4 kB / 1.124 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005928/1.017, allocations: 156.6 kB / 1.124 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.017, allocations: 0.9375 kB / 1.124 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/1.017, allocations: 61.56 kB / 1.124 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/1.019, allocations: 140.8 kB / 1.124 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/1.02, allocations: 0.5755 MB / 1.124 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/1.021, allocations: 0.7555 MB / 1.125 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/1.021, allocations: 26.5 kB / 1.125 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of SimCode: time 7.32e-07/1.021, allocations: 0 / 1.125 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of Templates: time 0.01577/1.036, allocations: 5.23 MB / 1.13 GB, free: 15.68 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches