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.01012/0.01012, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.002174/0.002174, allocations: 191 kB / 16.67 MB, free: 5.969 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.251/2.251, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 71.89 kB / 0.9509 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.022, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2759/1.298, allocations: 163.2 MB / 1.247 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005695/1.303, allocations: 4.569 MB / 1.252 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004151/1.304, allocations: 11.94 kB / 1.252 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004724/1.304, allocations: 127 kB / 1.252 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/1.306, allocations: 0.5563 MB / 1.252 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00174/1.307, allocations: 0.7884 MB / 1.253 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006444/1.308, allocations: 0.5729 MB / 1.254 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/1.308, allocations: 213.2 kB / 1.254 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009363/1.309, allocations: 482.2 kB / 1.254 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005194/1.31, allocations: 294.9 kB / 1.255 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/1.31, allocations: 16 kB / 1.255 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/1.311, allocations: 1.005 MB / 1.256 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.675e-05/1.312, allocations: 91.72 kB / 1.256 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/1.312, allocations: 123.4 kB / 1.256 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000946/1.313, allocations: 0.711 MB / 1.257 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/1.313, allocations: 4 kB / 1.257 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/1.313, allocations: 0 / 1.257 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.781e-06/1.313, allocations: 0 / 1.257 GB, free: 0.9648 MB / 0.9825 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.0009105/1.314, allocations: 0.6057 MB / 1.257 GB, free: 320 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/1.314, allocations: 8.031 kB / 1.257 GB, free: 312 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006403/1.314, allocations: 75.59 kB / 1.257 GB, free: 236 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/1.315, allocations: 295.3 kB / 1.258 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/1.315, allocations: 16 kB / 1.258 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/1.315, allocations: 20 kB / 1.258 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/1.315, allocations: 291.4 kB / 1.258 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.315, allocations: 0 / 1.258 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/1.315, allocations: 4 kB / 1.258 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/1.315, allocations: 11.94 kB / 1.258 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/1.316, allocations: 203.7 kB / 1.258 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/1.317, allocations: 1.238 MB / 1.259 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/1.318, allocations: 173 kB / 1.26 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/1.318, allocations: 120.3 kB / 1.26 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007517/1.319, allocations: 331.2 kB / 1.26 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/1.319, allocations: 38.55 kB / 1.26 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 2.775e-06/1.319, allocations: 0 / 1.26 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.000742/1.319, allocations: 277.6 kB / 1.26 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/1.32, allocations: 166.2 kB / 1.26 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/1.32, allocations: 283 kB / 1.261 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/1.32, allocations: 33.7 kB / 1.261 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/1.32, allocations: 143.9 kB / 1.261 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/1.32, allocations: 47.3 kB / 1.261 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.278e-05/1.32, allocations: 37.7 kB / 1.261 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.32, allocations: 346.8 kB / 1.261 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/1.32, allocations: 67.86 kB / 1.261 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/1.321, allocations: 139.3 kB / 1.261 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/1.321, allocations: 223.5 kB / 1.262 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.321, allocations: 0 / 1.262 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005111/1.321, allocations: 249.1 kB / 1.262 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.322, allocations: 4.25 kB / 1.262 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.322, allocations: 8 kB / 1.262 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.322, allocations: 4 kB / 1.262 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/1.322, allocations: 43.91 kB / 1.262 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/1.322, allocations: 4 kB / 1.262 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/1.322, allocations: 23.73 kB / 1.262 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/1.322, allocations: 19.94 kB / 1.262 GB, free: 11.04 MB / 0.9981 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.0001348/1.322, allocations: 149.6 kB / 1.262 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/1.322, allocations: 27.7 kB / 1.262 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/1.323, allocations: 186.2 kB / 1.262 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/1.323, allocations: 8 kB / 1.262 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.323, allocations: 0 / 1.262 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/1.323, allocations: 4 kB / 1.262 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00096/1.324, allocations: 0.851 MB / 1.263 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.324, allocations: 0 / 1.263 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/1.324, allocations: 27.92 kB / 1.263 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/1.324, allocations: 7.875 kB / 1.263 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/1.324, allocations: 11.98 kB / 1.263 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.324, allocations: 4 kB / 1.263 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.324, allocations: 0 / 1.263 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/1.324, allocations: 335.6 kB / 1.264 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/1.325, allocations: 116.7 kB / 1.264 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/1.325, allocations: 12.06 kB / 1.264 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/1.325, allocations: 11.98 kB / 1.264 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/1.325, allocations: 11.94 kB / 1.264 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/1.325, allocations: 4 kB / 1.264 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002259/1.325, allocations: 233.9 kB / 1.264 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.325, allocations: 0 / 1.264 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004564/1.326, allocations: 99.92 kB / 1.264 GB, free: 8.812 MB / 0.9981 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.0004865/1.326, allocations: 201.7 kB / 1.264 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003848/1.326, allocations: 156 kB / 1.264 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.326, allocations: 96 / 1.264 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/1.327, allocations: 63.83 kB / 1.264 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007107/1.327, allocations: 142.4 kB / 1.265 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007798/1.328, allocations: 0.504 MB / 1.265 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/1.328, allocations: 0.7558 MB / 1.266 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001697/1.329, allocations: 58.88 kB / 1.266 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/1.329, allocations: 23.44 kB / 1.266 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.329, allocations: 0 / 1.266 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of Templates: time 0.01046/1.339, allocations: 5.832 MB / 1.272 GB, free: 1.082 MB / 0.9981 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