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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007295/0.007295, allocations: 99.41 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.003257/0.003257, allocations: 193 kB / 16.68 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.393/2.393, allocations: 482.6 MB / 0.7551 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 69.7 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.25, allocations: 162.3 MB / 1.242 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1554/0.4055, allocations: 163.3 MB / 1.401 GB, free: 5.004 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004984/0.4105, allocations: 4.584 MB / 1.406 GB, free: 424 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.4108, allocations: 7.938 kB / 1.406 GB, free: 416 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.4112, allocations: 127 kB / 1.406 GB, free: 288 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.4123, allocations: 0.5291 MB / 1.406 GB, free: 15.75 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.4138, allocations: 0.7753 MB / 1.407 GB, free: 14.97 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0006177/0.4145, allocations: 0.5768 MB / 1.408 GB, free: 14.39 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.4148, allocations: 213.1 kB / 1.408 GB, free: 14.19 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.4159, allocations: 0.6577 MB / 1.409 GB, free: 13.53 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000459/0.4164, allocations: 286.6 kB / 1.409 GB, free: 13.25 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.4164, allocations: 20 kB / 1.409 GB, free: 13.23 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.4178, allocations: 1.002 MB / 1.41 GB, free: 12.23 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-05/0.4179, allocations: 83.78 kB / 1.41 GB, free: 12.14 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.4181, allocations: 131.3 kB / 1.41 GB, free: 12.02 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0008983/0.419, allocations: 0.7204 MB / 1.411 GB, free: 11.29 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.419, allocations: 0 / 1.411 GB, free: 11.29 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.072e-06/0.419, allocations: 0 / 1.411 GB, free: 11.29 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.419, allocations: 0 / 1.411 GB, free: 11.29 MB / 1.139 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.0008064/0.4198, allocations: 0.6028 MB / 1.411 GB, free: 10.64 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.4198, allocations: 12.03 kB / 1.411 GB, free: 10.63 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.4199, allocations: 50.55 kB / 1.411 GB, free: 10.57 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005616/0.4205, allocations: 87.61 kB / 1.411 GB, free: 10.48 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.4208, allocations: 295.5 kB / 1.412 GB, free: 10.16 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.4209, allocations: 24 kB / 1.412 GB, free: 10.13 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.4209, allocations: 16 kB / 1.412 GB, free: 10.12 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004381/0.4214, allocations: 279.4 kB / 1.412 GB, free: 9.816 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4214, allocations: 0 / 1.412 GB, free: 9.816 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.4214, allocations: 23.92 kB / 1.412 GB, free: 9.793 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4214, allocations: 4 kB / 1.412 GB, free: 9.789 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.4218, allocations: 209 kB / 1.412 GB, free: 9.586 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.4232, allocations: 1.238 MB / 1.414 GB, free: 8.27 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.4235, allocations: 177 kB / 1.414 GB, free: 8.051 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.4237, allocations: 112.2 kB / 1.414 GB, free: 7.926 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006609/0.4244, allocations: 327.2 kB / 1.414 GB, free: 7.551 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.4244, allocations: 42.69 kB / 1.414 GB, free: 7.5 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.4244, allocations: 0 / 1.414 GB, free: 7.5 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0006753/0.4251, allocations: 277.8 kB / 1.414 GB, free: 7.223 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.4252, allocations: 162.2 kB / 1.415 GB, free: 7.027 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.4255, allocations: 283 kB / 1.415 GB, free: 6.742 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.4255, allocations: 29.7 kB / 1.415 GB, free: 6.707 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.4256, allocations: 155.9 kB / 1.415 GB, free: 6.551 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.4256, allocations: 43.58 kB / 1.415 GB, free: 6.508 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.4257, allocations: 45.66 kB / 1.415 GB, free: 6.457 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4258, allocations: 342.8 kB / 1.415 GB, free: 6.113 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.426, allocations: 71.94 kB / 1.415 GB, free: 6.043 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.4262, allocations: 148.8 kB / 1.416 GB, free: 5.867 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.4266, allocations: 211.6 kB / 1.416 GB, free: 5.633 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.4266, allocations: 7.938 kB / 1.416 GB, free: 5.625 MB / 1.139 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004831/0.4271, allocations: 245.2 kB / 1.416 GB, free: 5.379 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.4271, allocations: 8 kB / 1.416 GB, free: 5.371 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4271, allocations: 0 / 1.416 GB, free: 5.371 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4271, allocations: 4.25 kB / 1.416 GB, free: 5.367 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.4273, allocations: 43.91 kB / 1.416 GB, free: 5.324 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.4273, allocations: 7.938 kB / 1.416 GB, free: 5.316 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.4275, allocations: 35.77 kB / 1.416 GB, free: 5.281 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.4275, allocations: 8 kB / 1.416 GB, free: 5.273 MB / 1.139 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.0001243/0.4276, allocations: 141.8 kB / 1.416 GB, free: 5.125 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.4278, allocations: 23.86 kB / 1.416 GB, free: 5.102 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004235/0.4282, allocations: 197.7 kB / 1.417 GB, free: 4.891 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4282, allocations: 0 / 1.417 GB, free: 4.891 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4282, allocations: 8 kB / 1.417 GB, free: 4.883 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4282, allocations: 3.938 kB / 1.417 GB, free: 4.879 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008885/0.4291, allocations: 0.8433 MB / 1.417 GB, free: 3.961 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4291, allocations: 8.156 kB / 1.417 GB, free: 3.953 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.4293, allocations: 23.92 kB / 1.417 GB, free: 3.93 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4293, allocations: 4 kB / 1.417 GB, free: 3.926 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.4293, allocations: 0 / 1.417 GB, free: 3.926 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4293, allocations: 4 kB / 1.417 GB, free: 3.922 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4293, allocations: 4.109 kB / 1.417 GB, free: 3.918 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.4298, allocations: 347.5 kB / 1.418 GB, free: 3.547 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-05/0.4299, allocations: 116.8 kB / 1.418 GB, free: 3.414 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.43, allocations: 4 kB / 1.418 GB, free: 3.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.4301, allocations: 12.06 kB / 1.418 GB, free: 3.398 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.4301, allocations: 7.984 kB / 1.418 GB, free: 3.391 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.4302, allocations: 4.094 kB / 1.418 GB, free: 3.387 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002163/0.4304, allocations: 241.9 kB / 1.418 GB, free: 3.152 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4304, allocations: 0 / 1.418 GB, free: 3.152 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003684/0.4308, allocations: 99.8 kB / 1.418 GB, free: 3.055 MB / 1.139 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.001111/0.4319, allocations: 0.9883 MB / 1.419 GB, free: 2.031 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.4322, allocations: 156 kB / 1.419 GB, free: 1.879 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4323, allocations: 0 / 1.419 GB, free: 1.879 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.4324, allocations: 59.91 kB / 1.419 GB, free: 1.82 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/0.4331, allocations: 137.5 kB / 1.419 GB, free: 1.691 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.4361, allocations: 2.771 MB / 1.422 GB, free: 14.75 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.4364, allocations: 0.7558 MB / 1.423 GB, free: 13.97 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.4366, allocations: 66.94 kB / 1.423 GB, free: 13.91 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.4367, allocations: 75.34 kB / 1.423 GB, free: 13.83 MB / 1.154 GB Notification: Performance of SimCode: time 2.21e-07/0.4367, allocations: 0 / 1.423 GB, free: 13.83 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.489/4.925, allocations: 8.618 MB / 1.431 GB, free: 5.379 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.878/14.8, allocations: 11.22 kB / 1.432 GB, free: 5.371 MB / 1.154 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=400 --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