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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001225, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.328/2.328, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.91 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.5114, allocations: 140.4 MB / 0.9497 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.139/0.6504, allocations: 163.2 MB / 1.109 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004605/0.655, allocations: 4.579 MB / 1.114 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002503/0.6553, allocations: 11.94 kB / 1.114 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.6557, allocations: 123 kB / 1.114 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.6568, allocations: 0.5367 MB / 1.114 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.6582, allocations: 0.7705 MB / 1.115 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004724/0.6587, allocations: 0.5691 MB / 1.116 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.659, allocations: 221 kB / 1.116 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006775/0.6597, allocations: 466.3 kB / 1.116 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.6601, allocations: 298.8 kB / 1.116 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.6602, allocations: 16 kB / 1.117 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.6614, allocations: 0.9938 MB / 1.117 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.449e-05/0.6615, allocations: 83.78 kB / 1.118 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.6616, allocations: 127.4 kB / 1.118 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00076/0.6624, allocations: 0.713 MB / 1.118 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.6624, allocations: 0 / 1.118 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of FrontEnd: time 9.81e-07/0.6624, allocations: 0 / 1.118 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.6624, allocations: 0 / 1.118 GB, free: 4.562 MB / 0.8731 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.0007165/0.6631, allocations: 0.5958 MB / 1.119 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.6632, allocations: 8.031 kB / 1.119 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.6632, allocations: 50.55 kB / 1.119 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005835/0.6638, allocations: 91.5 kB / 1.119 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.6641, allocations: 279.3 kB / 1.119 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.6641, allocations: 16 kB / 1.119 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.6642, allocations: 20 kB / 1.119 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.6646, allocations: 283.4 kB / 1.12 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.6646, allocations: 0 / 1.12 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.6646, allocations: 15.92 kB / 1.12 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.6646, allocations: 8 kB / 1.12 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/0.665, allocations: 199.8 kB / 1.12 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.6663, allocations: 1.253 MB / 1.121 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.6666, allocations: 169 kB / 1.121 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.6668, allocations: 116.4 kB / 1.121 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006575/0.6674, allocations: 331.2 kB / 1.122 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.6675, allocations: 42.56 kB / 1.122 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.6675, allocations: 0 / 1.122 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0006702/0.6681, allocations: 277 kB / 1.122 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.6682, allocations: 162.7 kB / 1.122 GB, free: 320 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.6684, allocations: 287.4 kB / 1.122 GB, free: 20 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.6685, allocations: 29.7 kB / 1.122 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/0.6686, allocations: 147.8 kB / 1.123 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.6686, allocations: 47.3 kB / 1.123 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.6687, allocations: 45.64 kB / 1.123 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.4e-05/0.6688, allocations: 338.8 kB / 1.123 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.6689, allocations: 67.94 kB / 1.123 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.6692, allocations: 145.6 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.6695, allocations: 215.5 kB / 1.123 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6695, allocations: 0 / 1.123 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004581/0.67, allocations: 253.1 kB / 1.124 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.67, allocations: 5.719 kB / 1.124 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.67, allocations: 4 kB / 1.124 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.67, allocations: 0 / 1.124 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.6702, allocations: 43.91 kB / 1.124 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.6702, allocations: 256 / 1.124 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.6704, allocations: 39.67 kB / 1.124 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.6704, allocations: 8 kB / 1.124 GB, free: 14.57 MB / 0.8887 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.0001091/0.6705, allocations: 157.6 kB / 1.124 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.6707, allocations: 23.72 kB / 1.124 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.6711, allocations: 189.8 kB / 1.124 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6711, allocations: 4 kB / 1.124 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.6711, allocations: 0 / 1.124 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6711, allocations: 3.938 kB / 1.124 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008132/0.6719, allocations: 0.8472 MB / 1.125 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6719, allocations: 0 / 1.125 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.6721, allocations: 32.02 kB / 1.125 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.6721, allocations: 4 kB / 1.125 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.6721, allocations: 7.938 kB / 1.125 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6721, allocations: 0 / 1.125 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6721, allocations: 8.109 kB / 1.125 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/0.6726, allocations: 339.3 kB / 1.125 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.829e-05/0.6727, allocations: 120.7 kB / 1.125 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.6727, allocations: 8 kB / 1.125 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.6729, allocations: 4 kB / 1.125 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.6729, allocations: 15.98 kB / 1.125 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.6729, allocations: 8 kB / 1.125 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001919/0.6731, allocations: 233.9 kB / 1.126 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.6731, allocations: 0 / 1.126 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003722/0.6735, allocations: 103.8 kB / 1.126 GB, free: 12.34 MB / 0.8887 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.0009805/0.6745, allocations: 0.9756 MB / 1.127 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000349/0.6749, allocations: 155.7 kB / 1.127 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6749, allocations: 0.5 kB / 1.127 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.675, allocations: 63.89 kB / 1.127 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006909/0.6757, allocations: 137.2 kB / 1.127 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.6785, allocations: 2.771 MB / 1.13 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.6787, allocations: 0.7519 MB / 1.131 GB, free: 7.277 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001696/0.6789, allocations: 62.94 kB / 1.131 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.35e-05/0.679, allocations: 79.41 kB / 1.131 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of SimCode: time 2.21e-07/0.679, allocations: 0 / 1.131 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.424/2.103, allocations: 8.533 MB / 1.139 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/15.43, allocations: 8 kB / 1.139 GB, free: 14.73 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > 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