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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001004/0.001004, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001293/0.001293, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.722/2.722, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 11.09 kB / 0.9021 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2616, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1514/0.413, allocations: 148.3 MB / 1.203 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005032/0.4181, allocations: 4.252 MB / 1.207 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.4184, allocations: 11.88 kB / 1.207 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.4187, allocations: 83.36 kB / 1.207 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.4197, allocations: 382.1 kB / 1.207 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.4211, allocations: 0.5206 MB / 1.208 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007343/0.4218, allocations: 0.6821 MB / 1.209 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003066/0.4221, allocations: 173.2 kB / 1.209 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007945/0.4229, allocations: 370.5 kB / 1.209 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005782/0.4235, allocations: 267 kB / 1.209 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.4236, allocations: 12 kB / 1.209 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.4247, allocations: 0.5145 MB / 1.21 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4248, allocations: 83.75 kB / 1.21 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.535e-05/0.4249, allocations: 73.58 kB / 1.21 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005452/0.4254, allocations: 419 kB / 1.21 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4254, allocations: 0 / 1.21 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4254, allocations: 0 / 1.21 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.4255, allocations: 0 / 1.21 GB, free: 8.848 MB / 0.9669 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.0008321/0.4263, allocations: 0.5491 MB / 1.211 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.4263, allocations: 12.03 kB / 1.211 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006421/0.427, allocations: 75.56 kB / 1.211 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.4274, allocations: 279.5 kB / 1.211 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.4274, allocations: 16 kB / 1.211 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.4275, allocations: 19.95 kB / 1.211 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.428, allocations: 291.4 kB / 1.212 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.428, allocations: 0 / 1.212 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.428, allocations: 12 kB / 1.212 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.428, allocations: 4 kB / 1.212 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.4285, allocations: 219.5 kB / 1.212 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.43, allocations: 1.242 MB / 1.213 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.4303, allocations: 184.9 kB / 1.213 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.4305, allocations: 116.2 kB / 1.213 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007054/0.4313, allocations: 347.2 kB / 1.214 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.4313, allocations: 38.69 kB / 1.214 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.4313, allocations: 0 / 1.214 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.000761/0.4321, allocations: 293.7 kB / 1.214 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.4321, allocations: 162.3 kB / 1.214 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.4324, allocations: 290.8 kB / 1.214 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.4325, allocations: 29.7 kB / 1.214 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4326, allocations: 152 kB / 1.215 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.4326, allocations: 47.28 kB / 1.215 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.4327, allocations: 8 kB / 1.215 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4328, allocations: 334.8 kB / 1.215 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.4329, allocations: 71.94 kB / 1.215 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.4332, allocations: 154.7 kB / 1.215 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.4334, allocations: 87.94 kB / 1.215 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4334, allocations: 0 / 1.215 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005025/0.4339, allocations: 253.1 kB / 1.216 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.4339, allocations: 4 kB / 1.216 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4339, allocations: 4 kB / 1.216 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4339, allocations: 4 kB / 1.216 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.4341, allocations: 48.16 kB / 1.216 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.4342, allocations: 7.953 kB / 1.216 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.4344, allocations: 31.73 kB / 1.216 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.4344, allocations: 12 kB / 1.216 GB, free: 3.102 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.4345, allocations: 149.7 kB / 1.216 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.4347, allocations: 23.72 kB / 1.216 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004698/0.4352, allocations: 201.8 kB / 1.216 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.4352, allocations: 4 kB / 1.216 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4352, allocations: 3.984 kB / 1.216 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4352, allocations: 3.953 kB / 1.216 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009487/0.4362, allocations: 0.8628 MB / 1.217 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4362, allocations: 0 / 1.217 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.4363, allocations: 28.08 kB / 1.217 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.4363, allocations: 11.95 kB / 1.217 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.4363, allocations: 8 kB / 1.217 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.4364, allocations: 0 / 1.217 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4364, allocations: 7.938 kB / 1.217 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.4369, allocations: 343.4 kB / 1.217 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.437, allocations: 128.8 kB / 1.217 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.4371, allocations: 3.953 kB / 1.217 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.4372, allocations: 15.98 kB / 1.217 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.4373, allocations: 11.94 kB / 1.217 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.4373, allocations: 4 kB / 1.217 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002298/0.4375, allocations: 233.9 kB / 1.218 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.503e-06/0.4375, allocations: 0 / 1.218 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000434/0.438, allocations: 107.8 kB / 1.218 GB, free: 0.8203 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004085/0.4384, allocations: 203.8 kB / 1.218 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.4388, allocations: 159.8 kB / 1.218 GB, free: 476 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4388, allocations: 0 / 1.218 GB, free: 476 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.4389, allocations: 72.64 kB / 1.218 GB, free: 404 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.4397, allocations: 132.1 kB / 1.218 GB, free: 272 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007404/0.4404, allocations: 0.5518 MB / 1.219 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.4407, allocations: 0.7599 MB / 1.22 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000203/0.4409, allocations: 67.02 kB / 1.22 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.441, allocations: 27.42 kB / 1.22 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.441, allocations: 0 / 1.22 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of Templates: time 0.009251/0.4503, allocations: 5.29 MB / 1.225 GB, free: 9.559 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) 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) Reference file matches