Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_11_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.001453/0.001453, allocations: 108 kB / 15.6 MB, free: 132 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.001448/0.001448, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.312/1.312, 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 11.1.0-maint.11.x/package.mo): time 2.615/2.615, allocations: 469.8 MB / 0.7424 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 76.36 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2469, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1703/0.4172, allocations: 163.2 MB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005381/0.4226, allocations: 4.576 MB / 1.228 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002985/0.423, allocations: 11.88 kB / 1.228 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.4234, allocations: 123.1 kB / 1.228 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.4245, allocations: 0.5367 MB / 1.229 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.4262, allocations: 0.7665 MB / 1.229 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006223/0.4268, allocations: 0.5768 MB / 1.23 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.4271, allocations: 205.2 kB / 1.23 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008122/0.428, allocations: 470.2 kB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004935/0.4285, allocations: 290.9 kB / 1.231 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.4285, allocations: 16 kB / 1.231 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.4301, allocations: 0.9977 MB / 1.232 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.902e-05/0.4302, allocations: 99.66 kB / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.4303, allocations: 123.4 kB / 1.232 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009401/0.4313, allocations: 0.7091 MB / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4313, allocations: 0 / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4313, allocations: 0 / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.4313, allocations: 0 / 1.233 GB, free: 0.8945 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.0008508/0.4322, allocations: 0.5918 MB / 1.233 GB, free: 260 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.4322, allocations: 8.031 kB / 1.233 GB, free: 252 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.94e-05/0.4323, allocations: 54.55 kB / 1.233 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006158/0.4329, allocations: 87.48 kB / 1.233 GB, free: 100 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.4333, allocations: 275.5 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.4333, allocations: 16 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.4333, allocations: 20 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.4338, allocations: 287.4 kB / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4338, allocations: 0 / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.4339, allocations: 15.94 kB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4339, allocations: 4 kB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.4343, allocations: 203.5 kB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.4358, allocations: 1.253 MB / 1.235 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.4361, allocations: 173 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.4363, allocations: 112.2 kB / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007137/0.437, allocations: 335.2 kB / 1.236 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.437, allocations: 42.69 kB / 1.236 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.437, allocations: 0 / 1.236 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0007486/0.4378, allocations: 281.3 kB / 1.236 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.4379, allocations: 162.7 kB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.4382, allocations: 291 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.4382, allocations: 25.7 kB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4383, allocations: 147.9 kB / 1.237 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.4384, allocations: 43.36 kB / 1.237 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.4385, allocations: 45.61 kB / 1.237 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4386, allocations: 338.8 kB / 1.237 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.4388, allocations: 67.94 kB / 1.237 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.439, allocations: 145.9 kB / 1.238 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.4394, allocations: 211.5 kB / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4394, allocations: 0 / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004941/0.4399, allocations: 253.1 kB / 1.238 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4399, allocations: 7.984 kB / 1.238 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4399, allocations: 4 kB / 1.238 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.44, allocations: 4 kB / 1.238 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.4401, allocations: 35.92 kB / 1.238 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.4402, allocations: 12.25 kB / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.4403, allocations: 35.61 kB / 1.238 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.4404, allocations: 12 kB / 1.238 GB, free: 10.91 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.0001336/0.4405, allocations: 154.2 kB / 1.238 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.4407, allocations: 23.72 kB / 1.238 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.4411, allocations: 185.8 kB / 1.238 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.4411, allocations: 7.938 kB / 1.238 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4411, allocations: 0 / 1.238 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4412, allocations: 7.938 kB / 1.239 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009657/0.4421, allocations: 0.851 MB / 1.239 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4421, allocations: 0 / 1.239 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.4423, allocations: 36.02 kB / 1.239 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4423, allocations: 0 / 1.239 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4423, allocations: 4 kB / 1.239 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4423, allocations: 96 / 1.239 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.4423, allocations: 7.938 kB / 1.239 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.4429, allocations: 335.4 kB / 1.24 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.443, allocations: 112.8 kB / 1.24 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.443, allocations: 7.938 kB / 1.24 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.4432, allocations: 11.98 kB / 1.24 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.4432, allocations: 12.17 kB / 1.24 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.4432, allocations: 8 kB / 1.24 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002418/0.4435, allocations: 237.9 kB / 1.24 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4435, allocations: 0 / 1.24 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004359/0.4439, allocations: 87.94 kB / 1.24 GB, free: 8.691 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.001259/0.4452, allocations: 0.9847 MB / 1.241 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004073/0.4456, allocations: 152.2 kB / 1.241 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4456, allocations: 4.062 kB / 1.241 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.4458, allocations: 55.91 kB / 1.241 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/0.4465, allocations: 145.7 kB / 1.241 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.4499, allocations: 2.774 MB / 1.244 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.4503, allocations: 0.7558 MB / 1.245 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.4505, allocations: 66.88 kB / 1.245 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.4506, allocations: 71.42 kB / 1.245 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.4506, allocations: 0 / 1.245 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.408/1.859, allocations: 8.534 MB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/13.68, allocations: 12.11 kB / 1.253 GB, free: 188.4 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches