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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_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.00146/0.00146, 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.001603/0.001603, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.406/2.406, allocations: 461.9 MB / 0.7347 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 66.44 kB / 0.8992 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2705, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1559/0.4264, allocations: 163.2 MB / 1.212 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005202/0.4316, allocations: 4.573 MB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003074/0.432, allocations: 11.94 kB / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.4324, allocations: 127 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.4336, allocations: 0.5406 MB / 1.217 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.4353, allocations: 0.7662 MB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006345/0.4359, allocations: 0.5768 MB / 1.219 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003442/0.4363, allocations: 209.2 kB / 1.219 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008679/0.4371, allocations: 474.2 kB / 1.219 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005105/0.4377, allocations: 290.9 kB / 1.22 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.4377, allocations: 16 kB / 1.22 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.4391, allocations: 0.9938 MB / 1.221 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.488e-05/0.4393, allocations: 91.72 kB / 1.221 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.4394, allocations: 123.4 kB / 1.221 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009968/0.4404, allocations: 0.7091 MB / 1.222 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.4404, allocations: 0 / 1.222 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.078e-06/0.4404, allocations: 4 kB / 1.222 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.4405, allocations: 0 / 1.222 GB, free: 10.91 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.0009117/0.4414, allocations: 0.588 MB / 1.222 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.4414, allocations: 16.56 kB / 1.222 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.4415, allocations: 50.55 kB / 1.222 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006271/0.4421, allocations: 75.59 kB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.4425, allocations: 283.4 kB / 1.223 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.4425, allocations: 16 kB / 1.223 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.4425, allocations: 23.94 kB / 1.223 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/0.443, allocations: 279.5 kB / 1.223 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.443, allocations: 3.938 kB / 1.223 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.443, allocations: 11.94 kB / 1.223 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.443, allocations: 8 kB / 1.223 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.4435, allocations: 207.5 kB / 1.223 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.4449, allocations: 1.245 MB / 1.224 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.4452, allocations: 173 kB / 1.224 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.4454, allocations: 112.2 kB / 1.225 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006966/0.4461, allocations: 331.4 kB / 1.225 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.4461, allocations: 50.5 kB / 1.225 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.4461, allocations: 0 / 1.225 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0007035/0.4468, allocations: 273.3 kB / 1.225 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.4469, allocations: 166.7 kB / 1.225 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.4472, allocations: 283 kB / 1.226 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.4472, allocations: 25.8 kB / 1.226 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.481e-05/0.4473, allocations: 155.8 kB / 1.226 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.4473, allocations: 43.36 kB / 1.226 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/0.4474, allocations: 41.7 kB / 1.226 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4475, allocations: 338.8 kB / 1.226 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.4477, allocations: 71.84 kB / 1.226 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.4479, allocations: 150.2 kB / 1.226 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.4483, allocations: 207.5 kB / 1.227 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.4483, allocations: 11.98 kB / 1.227 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004755/0.4488, allocations: 241.1 kB / 1.227 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.4488, allocations: 4 kB / 1.227 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4488, allocations: 7.938 kB / 1.227 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4488, allocations: 0 / 1.227 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.449, allocations: 44.16 kB / 1.227 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.449, allocations: 4 kB / 1.227 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.4492, allocations: 35.7 kB / 1.227 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.4492, allocations: 8 kB / 1.227 GB, free: 4.934 MB / 0.9825 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.0001238/0.4494, allocations: 145.8 kB / 1.227 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.4495, allocations: 31.56 kB / 1.227 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/0.4499, allocations: 181.9 kB / 1.227 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.45, allocations: 0 / 1.227 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.45, allocations: 4 kB / 1.227 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.45, allocations: 7.938 kB / 1.227 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000875/0.4509, allocations: 0.851 MB / 1.228 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4509, allocations: 4.156 kB / 1.228 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.451, allocations: 23.92 kB / 1.228 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.451, allocations: 4 kB / 1.228 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.451, allocations: 4 kB / 1.228 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.451, allocations: 3.938 kB / 1.228 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.451, allocations: 4 kB / 1.228 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005132/0.4516, allocations: 347.4 kB / 1.229 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.08e-05/0.4517, allocations: 116.8 kB / 1.229 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.4517, allocations: 4 kB / 1.229 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.4519, allocations: 8 kB / 1.229 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.4519, allocations: 12.05 kB / 1.229 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.4519, allocations: 8 kB / 1.229 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002154/0.4521, allocations: 233.9 kB / 1.229 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4521, allocations: 0 / 1.229 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004201/0.4526, allocations: 99.92 kB / 1.229 GB, free: 2.711 MB / 0.9825 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.001124/0.4537, allocations: 0.995 MB / 1.23 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003644/0.4541, allocations: 156.2 kB / 1.23 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4541, allocations: 0 / 1.23 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.4542, allocations: 59.84 kB / 1.23 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007293/0.455, allocations: 135.5 kB / 1.23 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.4581, allocations: 2.782 MB / 1.233 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.4584, allocations: 0.7558 MB / 1.234 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.4586, allocations: 58.88 kB / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.4587, allocations: 79.41 kB / 1.234 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/0.4588, allocations: 0 / 1.234 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.099/3.558, allocations: 8.547 MB / 1.242 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/15.01, allocations: 11.89 kB / 1.242 GB, free: 5.074 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches