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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008192/0.0008192, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005369/0.005369, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003083, allocations: 11.98 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5579/0.5582, allocations: 142.4 MB / 0.9552 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1463/0.7045, allocations: 158.9 MB / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004714/0.7092, allocations: 4.566 MB / 1.115 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.7094, allocations: 7.938 kB / 1.115 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.7097, allocations: 99.36 kB / 1.115 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.7111, allocations: 0.5253 MB / 1.115 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.7126, allocations: 0.6987 MB / 1.116 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0007096/0.7133, allocations: 0.803 MB / 1.117 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.7136, allocations: 181.5 kB / 1.117 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007481/0.7143, allocations: 422.4 kB / 1.117 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004649/0.7148, allocations: 294.9 kB / 1.118 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.7149, allocations: 12 kB / 1.118 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.7163, allocations: 1.161 MB / 1.119 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.649e-05/0.7164, allocations: 83.78 kB / 1.119 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.7165, allocations: 133.1 kB / 1.119 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008223/0.7174, allocations: 0.7712 MB / 1.12 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7174, allocations: 4 kB / 1.12 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7174, allocations: 0 / 1.12 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.7174, allocations: 0 / 1.12 GB, free: 6.078 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.000739/0.7181, allocations: 0.5491 MB / 1.12 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.7182, allocations: 12.03 kB / 1.12 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.7182, allocations: 50.55 kB / 1.12 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005964/0.7188, allocations: 79.58 kB / 1.121 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.7192, allocations: 283.3 kB / 1.121 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.7192, allocations: 16 kB / 1.121 GB, free: 5 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.7192, allocations: 16 kB / 1.121 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.7197, allocations: 295.4 kB / 1.121 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.7197, allocations: 0 / 1.121 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.7197, allocations: 7.938 kB / 1.121 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.7197, allocations: 8 kB / 1.121 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.7201, allocations: 219.7 kB / 1.121 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.7215, allocations: 1.253 MB / 1.123 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.7218, allocations: 181 kB / 1.123 GB, free: 2.879 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.722, allocations: 124.2 kB / 1.123 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006825/0.7227, allocations: 339.2 kB / 1.123 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.7227, allocations: 42.69 kB / 1.123 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.7227, allocations: 0 / 1.123 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0007137/0.7234, allocations: 293.3 kB / 1.123 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.7235, allocations: 166.4 kB / 1.124 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.7237, allocations: 287 kB / 1.124 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.7238, allocations: 29.7 kB / 1.124 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.7239, allocations: 143.9 kB / 1.124 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.7239, allocations: 47.3 kB / 1.124 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.724, allocations: 25.7 kB / 1.124 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.7241, allocations: 334.8 kB / 1.124 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.7242, allocations: 71.95 kB / 1.125 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.7245, allocations: 152.5 kB / 1.125 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.7248, allocations: 223.5 kB / 1.125 GB, free: 440 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7248, allocations: 4 kB / 1.125 GB, free: 436 kB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004775/0.7253, allocations: 261 kB / 1.125 GB, free: 168 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.7253, allocations: 5.406 kB / 1.125 GB, free: 164 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7253, allocations: 4 kB / 1.125 GB, free: 160 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.7254, allocations: 0 / 1.125 GB, free: 160 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.7255, allocations: 44.16 kB / 1.125 GB, free: 116 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.7256, allocations: 8 kB / 1.125 GB, free: 108 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.7258, allocations: 35.77 kB / 1.125 GB, free: 72 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.7258, allocations: 12 kB / 1.125 GB, free: 60 kB / 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.0001313/0.7259, allocations: 153.7 kB / 1.125 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.7261, allocations: 23.72 kB / 1.125 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004495/0.7265, allocations: 210 kB / 1.126 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.7265, allocations: 0 / 1.126 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.7265, allocations: 4 kB / 1.126 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.7266, allocations: 7.922 kB / 1.126 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008636/0.7274, allocations: 0.8511 MB / 1.126 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7274, allocations: 0 / 1.126 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.7276, allocations: 35.91 kB / 1.127 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.7276, allocations: 8.156 kB / 1.127 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.7276, allocations: 4 kB / 1.127 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.7276, allocations: 0 / 1.127 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7276, allocations: 4 kB / 1.127 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.7281, allocations: 355.4 kB / 1.127 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.292e-05/0.7282, allocations: 128.7 kB / 1.127 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.7283, allocations: 8 kB / 1.127 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.7285, allocations: 11.91 kB / 1.127 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.7285, allocations: 11.98 kB / 1.127 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.7285, allocations: 4 kB / 1.127 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002022/0.7287, allocations: 233.9 kB / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7287, allocations: 0 / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000399/0.7291, allocations: 99.98 kB / 1.127 GB, free: 13.78 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.001072/0.7302, allocations: 1.005 MB / 1.128 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.7306, allocations: 160 kB / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7306, allocations: 0 / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.7307, allocations: 63.89 kB / 1.129 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007864/0.7315, allocations: 135.3 kB / 1.129 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.7345, allocations: 2.865 MB / 1.131 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.7348, allocations: 0.7638 MB / 1.132 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.735, allocations: 67.28 kB / 1.132 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.7351, allocations: 75.41 kB / 1.132 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of SimCode: time 2.5e-07/0.7351, allocations: 0 / 1.132 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6639/1.399, allocations: 8.093 MB / 1.14 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/1.399, allocations: 239.9 kB / 1.14 GB, free: 288 kB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/3.508, allocations: 0 / 1.14 GB, free: 288 kB / 0.8887 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