Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_10_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.001224/0.001224, allocations: 108 kB / 15.61 MB, free: 152 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.001307/0.001307, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.89 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5578/0.5591, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1834/0.7426, allocations: 163.2 MB / 1.177 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005536/0.7482, allocations: 4.57 MB / 1.181 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003739/0.7486, allocations: 7.938 kB / 1.181 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004514/0.7491, allocations: 127.1 kB / 1.181 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.7503, allocations: 0.5406 MB / 1.182 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.7521, allocations: 0.7566 MB / 1.183 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006319/0.7527, allocations: 0.5729 MB / 1.183 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.7531, allocations: 217.1 kB / 1.183 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008864/0.754, allocations: 462.3 kB / 1.184 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.7545, allocations: 298.8 kB / 1.184 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.7545, allocations: 20 kB / 1.184 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.7561, allocations: 1.005 MB / 1.185 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.704e-05/0.7562, allocations: 83.78 kB / 1.185 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.7564, allocations: 127.3 kB / 1.185 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009494/0.7573, allocations: 0.7053 MB / 1.186 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.7573, allocations: 0 / 1.186 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7573, allocations: 0 / 1.186 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.7574, allocations: 4 kB / 1.186 GB, free: 5.102 MB / 0.9356 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.0009281/0.7583, allocations: 0.5957 MB / 1.187 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.7583, allocations: 12.03 kB / 1.187 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/0.7584, allocations: 50.53 kB / 1.187 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000679/0.7591, allocations: 75.59 kB / 1.187 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.7595, allocations: 287.3 kB / 1.187 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.7596, allocations: 16 kB / 1.187 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.7596, allocations: 16 kB / 1.187 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.7602, allocations: 287.4 kB / 1.187 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.7602, allocations: 0 / 1.187 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.7602, allocations: 19.88 kB / 1.187 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.7602, allocations: 4 kB / 1.187 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004534/0.7607, allocations: 215.5 kB / 1.188 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.7623, allocations: 1.242 MB / 1.189 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.7626, allocations: 173 kB / 1.189 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.7628, allocations: 120.2 kB / 1.189 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007556/0.7636, allocations: 327.2 kB / 1.189 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.7636, allocations: 42.69 kB / 1.189 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.7636, allocations: 0 / 1.189 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0007863/0.7644, allocations: 273.5 kB / 1.19 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/0.7645, allocations: 158.2 kB / 1.19 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.7648, allocations: 290.9 kB / 1.19 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.7649, allocations: 33.7 kB / 1.19 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.765, allocations: 143.9 kB / 1.19 GB, free: 396 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.765, allocations: 43.3 kB / 1.19 GB, free: 352 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.7651, allocations: 46.2 kB / 1.19 GB, free: 300 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.7653, allocations: 342.8 kB / 1.191 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.7655, allocations: 67.94 kB / 1.191 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.7657, allocations: 148.5 kB / 1.191 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.7662, allocations: 215.5 kB / 1.191 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.7662, allocations: 4 kB / 1.191 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005187/0.7667, allocations: 249.2 kB / 1.191 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.7667, allocations: 8 kB / 1.191 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7667, allocations: 0 / 1.191 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.7668, allocations: 4 kB / 1.191 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.767, allocations: 35.92 kB / 1.191 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.767, allocations: 4 kB / 1.191 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.7672, allocations: 31.77 kB / 1.191 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.7672, allocations: 11.98 kB / 1.191 GB, free: 15.12 MB / 0.9512 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.0001483/0.7674, allocations: 153.8 kB / 1.192 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.7675, allocations: 23.72 kB / 1.192 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.768, allocations: 193.8 kB / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.7681, allocations: 0 / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7681, allocations: 3.938 kB / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.7681, allocations: 7.938 kB / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.7691, allocations: 0.8433 MB / 1.193 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.7691, allocations: 8.125 kB / 1.193 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.7693, allocations: 27.86 kB / 1.193 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.7693, allocations: 4 kB / 1.193 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.7693, allocations: 0 / 1.193 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.7693, allocations: 4 kB / 1.193 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7693, allocations: 160 / 1.193 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005876/0.7699, allocations: 343.4 kB / 1.193 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.77, allocations: 116.6 kB / 1.193 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.7701, allocations: 8.094 kB / 1.193 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.7702, allocations: 11.92 kB / 1.193 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.7703, allocations: 7.984 kB / 1.193 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.7703, allocations: 8 kB / 1.193 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002387/0.7705, allocations: 233.9 kB / 1.193 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7705, allocations: 4.062 kB / 1.193 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004817/0.771, allocations: 103.8 kB / 1.193 GB, free: 12.89 MB / 0.9512 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.001258/0.7723, allocations: 0.9755 MB / 1.194 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003844/0.7727, allocations: 151.8 kB / 1.195 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7727, allocations: 0 / 1.195 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.7729, allocations: 60.72 kB / 1.195 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007767/0.7736, allocations: 137.8 kB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.7772, allocations: 2.771 MB / 1.197 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.7775, allocations: 0.7596 MB / 1.198 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002111/0.7777, allocations: 66.88 kB / 1.198 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.7779, allocations: 79.42 kB / 1.198 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/0.7779, allocations: 0 / 1.198 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.8086, allocations: 8.545 MB / 1.207 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/8.476, allocations: 15.84 kB / 1.207 GB, free: 15.26 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches