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.001563/0.001563, allocations: 102.7 kB / 16.27 MB, free: 5.977 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.001765/0.001765, allocations: 192.8 kB / 17.2 MB, free: 5.602 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.218/2.218, allocations: 390.2 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.00153, allocations: 63.8 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3988, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.712/1.111, allocations: 163.2 MB / 1.11 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006127/1.117, allocations: 4.581 MB / 1.114 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006465/1.118, allocations: 12.47 kB / 1.114 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005323/1.118, allocations: 123.8 kB / 1.114 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/1.12, allocations: 0.5376 MB / 1.115 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/1.123, allocations: 0.7692 MB / 1.116 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009548/1.124, allocations: 0.5769 MB / 1.116 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/1.124, allocations: 211.4 kB / 1.116 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/1.125, allocations: 462.9 kB / 1.117 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006485/1.126, allocations: 291.2 kB / 1.117 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/1.126, allocations: 18.47 kB / 1.117 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/1.128, allocations: 0.998 MB / 1.118 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/1.128, allocations: 85.53 kB / 1.118 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/1.129, allocations: 128.4 kB / 1.118 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/1.13, allocations: 0.7078 MB / 1.119 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.13, allocations: 2.172 kB / 1.119 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.023e-06/1.13, allocations: 0 / 1.119 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.653e-06/1.13, allocations: 0 / 1.119 GB, free: 5.418 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.00121/1.131, allocations: 0.5912 MB / 1.12 GB, free: 20.96 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.131, allocations: 8.625 kB / 1.12 GB, free: 20.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007295/1.132, allocations: 75.17 kB / 1.12 GB, free: 20.94 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/1.132, allocations: 288.9 kB / 1.12 GB, free: 20.72 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/1.133, allocations: 15.92 kB / 1.12 GB, free: 20.72 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/1.133, allocations: 21.52 kB / 1.12 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/1.133, allocations: 289.9 kB / 1.12 GB, free: 20.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/1.133, allocations: 1.375 kB / 1.12 GB, free: 20.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/1.133, allocations: 8.312 kB / 1.12 GB, free: 20.62 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/1.133, allocations: 9.438 kB / 1.12 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/1.134, allocations: 204.4 kB / 1.12 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/1.135, allocations: 1.244 MB / 1.122 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/1.135, allocations: 175.7 kB / 1.122 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/1.136, allocations: 119.8 kB / 1.122 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007641/1.136, allocations: 326.2 kB / 1.122 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/1.137, allocations: 43.09 kB / 1.122 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.582e-06/1.137, allocations: 0 / 1.122 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0007834/1.137, allocations: 276.3 kB / 1.122 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/1.137, allocations: 163.9 kB / 1.123 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/1.138, allocations: 286.7 kB / 1.123 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/1.138, allocations: 27.14 kB / 1.123 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/1.138, allocations: 149.8 kB / 1.123 GB, free: 18.81 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/1.138, allocations: 52.31 kB / 1.123 GB, free: 18.78 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/1.138, allocations: 40.81 kB / 1.123 GB, free: 18.76 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.138, allocations: 339.2 kB / 1.124 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/1.138, allocations: 71.31 kB / 1.124 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/1.139, allocations: 144.3 kB / 1.124 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/1.139, allocations: 213.4 kB / 1.124 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.139, allocations: 1.656 kB / 1.124 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005101/1.139, allocations: 242.9 kB / 1.124 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.139, allocations: 6.188 kB / 1.124 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.139, allocations: 3.969 kB / 1.124 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/1.139, allocations: 7.875 kB / 1.124 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/1.14, allocations: 37.53 kB / 1.124 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/1.14, allocations: 4.281 kB / 1.124 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/1.14, allocations: 29.17 kB / 1.124 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/1.14, allocations: 10.02 kB / 1.124 GB, free: 18.23 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.0001422/1.14, allocations: 155.8 kB / 1.124 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/1.14, allocations: 29.08 kB / 1.124 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/1.141, allocations: 193.4 kB / 1.125 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/1.141, allocations: 5.656 kB / 1.125 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.141, allocations: 2.797 kB / 1.125 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/1.141, allocations: 4.328 kB / 1.125 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009663/1.142, allocations: 0.8475 MB / 1.125 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.142, allocations: 1.469 kB / 1.125 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/1.142, allocations: 28.73 kB / 1.125 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.142, allocations: 5.281 kB / 1.125 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/1.142, allocations: 5.062 kB / 1.125 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/1.142, allocations: 2.344 kB / 1.125 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.142, allocations: 4.875 kB / 1.125 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/1.142, allocations: 335.3 kB / 1.126 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.917e-05/1.143, allocations: 115.4 kB / 1.126 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/1.143, allocations: 9.516 kB / 1.126 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/1.143, allocations: 14.14 kB / 1.126 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/1.143, allocations: 8.688 kB / 1.126 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/1.143, allocations: 3.406 kB / 1.126 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002388/1.143, allocations: 235.8 kB / 1.126 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.143, allocations: 0 / 1.126 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000572/1.144, allocations: 96.67 kB / 1.126 GB, free: 16.97 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.0005596/1.144, allocations: 225.4 kB / 1.126 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004303/1.145, allocations: 155.9 kB / 1.127 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.145, allocations: 0 / 1.127 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/1.145, allocations: 61.22 kB / 1.127 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007754/1.146, allocations: 151.3 kB / 1.127 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008104/1.146, allocations: 0.5124 MB / 1.127 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/1.147, allocations: 0.761 MB / 1.128 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/1.147, allocations: 24.88 kB / 1.128 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.147, allocations: 0 / 1.128 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.008031/1.155, allocations: 5.217 MB / 1.133 GB, free: 15.3 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