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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009684/0.0009683, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007548/0.007548, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.709/2.709, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 12.59 kB / 0.9029 GB, free: 36.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3481, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1755/0.5236, allocations: 158.9 MB / 1.214 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00584/0.5295, allocations: 4.563 MB / 1.218 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003661/0.5299, allocations: 7.938 kB / 1.218 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.5304, allocations: 95.36 kB / 1.219 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.5318, allocations: 0.5136 MB / 1.219 GB, free: 168 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.5337, allocations: 0.7043 MB / 1.22 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009421/0.5347, allocations: 0.8147 MB / 1.221 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003834/0.535, allocations: 169.5 kB / 1.221 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.5361, allocations: 426.4 kB / 1.221 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000678/0.5368, allocations: 294.9 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.5368, allocations: 8 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.5387, allocations: 1.165 MB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.5389, allocations: 75.78 kB / 1.223 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.5391, allocations: 153 kB / 1.223 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.5404, allocations: 0.7557 MB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5404, allocations: 11.94 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5404, allocations: 0 / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.5405, allocations: 0 / 1.223 GB, free: 11.6 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.001005/0.5415, allocations: 0.5452 MB / 1.224 GB, free: 11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5415, allocations: 11.97 kB / 1.224 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.999e-05/0.5416, allocations: 54.55 kB / 1.224 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007011/0.5423, allocations: 87.48 kB / 1.224 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.5427, allocations: 283.3 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.5428, allocations: 12 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.5428, allocations: 20 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.5433, allocations: 299.3 kB / 1.225 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.5434, allocations: 4 kB / 1.225 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.5434, allocations: 11.94 kB / 1.225 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.5434, allocations: 4 kB / 1.225 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.5439, allocations: 219.5 kB / 1.225 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.5455, allocations: 1.253 MB / 1.226 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.5458, allocations: 181 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.546, allocations: 112.2 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007514/0.5468, allocations: 343.2 kB / 1.227 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.5468, allocations: 46.67 kB / 1.227 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.5468, allocations: 0 / 1.227 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0007922/0.5476, allocations: 297.4 kB / 1.227 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.5477, allocations: 158.2 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.548, allocations: 283 kB / 1.228 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.548, allocations: 29.7 kB / 1.228 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.5482, allocations: 155.9 kB / 1.228 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.5482, allocations: 43.34 kB / 1.228 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.5483, allocations: 21.7 kB / 1.228 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5484, allocations: 342.8 kB / 1.228 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.5486, allocations: 71.94 kB / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.5488, allocations: 148.5 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.5492, allocations: 223.5 kB / 1.229 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5492, allocations: 0 / 1.229 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005429/0.5498, allocations: 257.2 kB / 1.229 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.5498, allocations: 8 kB / 1.229 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5498, allocations: 4 kB / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5498, allocations: 4 kB / 1.229 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.55, allocations: 35.98 kB / 1.229 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.55, allocations: 7.938 kB / 1.229 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.5503, allocations: 43.73 kB / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.5503, allocations: 15.98 kB / 1.229 GB, free: 5.574 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.0001379/0.5505, allocations: 141.8 kB / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.5506, allocations: 23.72 kB / 1.229 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004902/0.5511, allocations: 209.7 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.5511, allocations: 0 / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5511, allocations: 4.375 kB / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.5511, allocations: 7.938 kB / 1.229 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009588/0.5521, allocations: 0.8627 MB / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5521, allocations: 0 / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.5523, allocations: 31.86 kB / 1.23 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.5523, allocations: 4 kB / 1.23 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.5523, allocations: 4 kB / 1.23 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.5523, allocations: 4.078 kB / 1.23 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.5523, allocations: 7.922 kB / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/0.5529, allocations: 355.5 kB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.553, allocations: 124.8 kB / 1.231 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.5531, allocations: 128 / 1.231 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.5533, allocations: 19.98 kB / 1.231 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.5533, allocations: 16.05 kB / 1.231 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.5533, allocations: 4 kB / 1.231 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002392/0.5536, allocations: 233.9 kB / 1.231 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5536, allocations: 0 / 1.231 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004804/0.5541, allocations: 91.94 kB / 1.231 GB, free: 3.301 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.001332/0.5554, allocations: 1.008 MB / 1.232 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000406/0.5558, allocations: 152 kB / 1.232 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5558, allocations: 0.5 kB / 1.232 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.556, allocations: 79.77 kB / 1.232 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009595/0.557, allocations: 123 kB / 1.232 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/0.5613, allocations: 2.882 MB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.5618, allocations: 0.7599 MB / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000273/0.5621, allocations: 66.88 kB / 1.236 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.5622, allocations: 71.41 kB / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.5622, allocations: 0 / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.5839, allocations: 8.096 MB / 1.244 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.5841, allocations: 244.1 kB / 1.244 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.522, allocations: 0 / 1.244 GB, free: 5.793 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