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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> 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.004722/0.004723, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00108/0.00108, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.762/2.762, allocations: 469.4 MB / 0.7422 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.12 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2988, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.8843/1.183, allocations: 163.2 MB / 1.379 GB, free: 6.113 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005926/1.189, allocations: 4.585 MB / 1.384 GB, free: 2.789 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004037/1.189, allocations: 9.938 kB / 1.384 GB, free: 2.785 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004729/1.19, allocations: 121.3 kB / 1.384 GB, free: 2.68 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001568/1.192, allocations: 0.5606 MB / 1.384 GB, free: 2.258 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/1.194, allocations: 0.7887 MB / 1.385 GB, free: 1.684 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007936/1.194, allocations: 0.5815 MB / 1.386 GB, free: 1.348 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/1.195, allocations: 210.1 kB / 1.386 GB, free: 1.227 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/1.196, allocations: 472.7 kB / 1.386 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006082/1.197, allocations: 293.9 kB / 1.387 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.745e-05/1.197, allocations: 22.56 kB / 1.387 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/1.198, allocations: 1.01 MB / 1.388 GB, free: 196 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/1.199, allocations: 84.69 kB / 1.388 GB, free: 140 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001762/1.199, allocations: 122.5 kB / 1.388 GB, free: 64 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001375/1.2, allocations: 0.721 MB / 1.388 GB, free: 15.63 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.2, allocations: 0 / 1.388 GB, free: 15.63 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.693e-06/1.2, allocations: 1.062 kB / 1.388 GB, free: 15.63 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.081e-05/1.2, allocations: 4 kB / 1.388 GB, free: 15.62 MB / 1.092 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.001136/1.201, allocations: 0.5939 MB / 1.389 GB, free: 15.08 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.201, allocations: 10.59 kB / 1.389 GB, free: 15.08 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.461e-05/1.201, allocations: 57.22 kB / 1.389 GB, free: 15.02 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007232/1.202, allocations: 78.59 kB / 1.389 GB, free: 14.98 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/1.203, allocations: 304.8 kB / 1.39 GB, free: 14.7 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/1.203, allocations: 16.48 kB / 1.39 GB, free: 14.69 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/1.203, allocations: 17.53 kB / 1.39 GB, free: 14.68 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/1.203, allocations: 291.2 kB / 1.39 GB, free: 14.47 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/1.203, allocations: 5.406 kB / 1.39 GB, free: 14.46 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/1.203, allocations: 10 kB / 1.39 GB, free: 14.46 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/1.203, allocations: 8.312 kB / 1.39 GB, free: 14.45 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/1.204, allocations: 201.2 kB / 1.39 GB, free: 14.36 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/1.206, allocations: 1.245 MB / 1.391 GB, free: 13.23 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/1.206, allocations: 171.4 kB / 1.391 GB, free: 13.06 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/1.206, allocations: 121.6 kB / 1.392 GB, free: 12.98 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007514/1.207, allocations: 333.1 kB / 1.392 GB, free: 12.65 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/1.207, allocations: 44.91 kB / 1.392 GB, free: 12.6 MB / 1.092 GB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/1.207, allocations: 0 / 1.392 GB, free: 12.6 MB / 1.092 GB Notification: Performance of matching and sorting (n=13): time 0.0008055/1.208, allocations: 278 kB / 1.392 GB, free: 12.45 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/1.208, allocations: 160.6 kB / 1.392 GB, free: 12.26 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/1.208, allocations: 286.8 kB / 1.393 GB, free: 12.08 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/1.208, allocations: 32.14 kB / 1.393 GB, free: 12.04 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/1.208, allocations: 143.5 kB / 1.393 GB, free: 11.91 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/1.208, allocations: 49.69 kB / 1.393 GB, free: 11.87 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.081e-05/1.209, allocations: 42.14 kB / 1.393 GB, free: 11.84 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.209, allocations: 340.6 kB / 1.393 GB, free: 11.5 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/1.209, allocations: 67.91 kB / 1.393 GB, free: 11.47 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/1.209, allocations: 143 kB / 1.393 GB, free: 11.35 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/1.21, allocations: 213.2 kB / 1.394 GB, free: 11.2 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.21, allocations: 1.188 kB / 1.394 GB, free: 11.2 MB / 1.092 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005487/1.21, allocations: 246.8 kB / 1.394 GB, free: 11.06 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.21, allocations: 10.17 kB / 1.394 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/1.21, allocations: 2.594 kB / 1.394 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/1.21, allocations: 3.094 kB / 1.394 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/1.21, allocations: 36.11 kB / 1.394 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/1.21, allocations: 7.812 kB / 1.394 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/1.211, allocations: 29.98 kB / 1.394 GB, free: 11.02 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/1.211, allocations: 17.16 kB / 1.394 GB, free: 11.02 MB / 1.092 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.0001574/1.211, allocations: 155.4 kB / 1.394 GB, free: 10.87 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/1.211, allocations: 32.91 kB / 1.394 GB, free: 10.85 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/1.211, allocations: 188.2 kB / 1.394 GB, free: 10.71 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.211, allocations: 5.594 kB / 1.394 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.212, allocations: 10.03 kB / 1.394 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.212, allocations: 1.25 kB / 1.394 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/1.213, allocations: 0.8607 MB / 1.395 GB, free: 9.887 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.213, allocations: 1.062 kB / 1.395 GB, free: 9.887 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/1.213, allocations: 21.58 kB / 1.395 GB, free: 9.883 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/1.213, allocations: 6.281 kB / 1.395 GB, free: 9.879 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/1.213, allocations: 6.281 kB / 1.395 GB, free: 9.875 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/1.213, allocations: 6.312 kB / 1.395 GB, free: 9.871 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.213, allocations: 1.266 kB / 1.395 GB, free: 9.871 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006038/1.213, allocations: 341.5 kB / 1.395 GB, free: 9.602 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/1.214, allocations: 112.2 kB / 1.396 GB, free: 9.484 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/1.214, allocations: 6.406 kB / 1.396 GB, free: 9.48 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/1.214, allocations: 9.422 kB / 1.396 GB, free: 9.477 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/1.214, allocations: 12.36 kB / 1.396 GB, free: 9.469 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/1.214, allocations: 4.5 kB / 1.396 GB, free: 9.469 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002514/1.214, allocations: 232.9 kB / 1.396 GB, free: 9.316 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.7e-07/1.214, allocations: 0 / 1.396 GB, free: 9.316 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005094/1.215, allocations: 103.1 kB / 1.396 GB, free: 9.289 MB / 1.092 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.001285/1.216, allocations: 0.9821 MB / 1.397 GB, free: 8.441 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004108/1.216, allocations: 154.3 kB / 1.397 GB, free: 8.371 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.216, allocations: 0.9375 kB / 1.397 GB, free: 8.371 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/1.216, allocations: 61.81 kB / 1.397 GB, free: 8.344 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007939/1.217, allocations: 148.9 kB / 1.397 GB, free: 8.266 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/1.221, allocations: 2.765 MB / 1.4 GB, free: 6.133 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/1.221, allocations: 0.7591 MB / 1.401 GB, free: 5.398 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002236/1.222, allocations: 70.23 kB / 1.401 GB, free: 5.359 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/1.222, allocations: 70.23 kB / 1.401 GB, free: 5.309 MB / 1.092 GB Notification: Performance of SimCode: time 3.3e-07/1.222, allocations: 1.375 kB / 1.401 GB, free: 5.309 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/1.253, allocations: 8.617 MB / 1.409 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/9.41, allocations: 3.25 kB / 1.409 GB, free: 0.9805 MB / 1.092 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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