Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SpecificEnthalpy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.001455/0.001456, 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.001447/0.001447, allocations: 195.1 kB / 16.54 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.613/2.613, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 72.83 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2749, allocations: 159.2 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1689/0.4438, allocations: 161.4 MB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005117/0.4489, allocations: 4.544 MB / 1.226 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.4491, allocations: 11.94 kB / 1.226 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.4495, allocations: 119 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006795/0.4502, allocations: 342.4 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006309/0.4509, allocations: 267 kB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.4514, allocations: 0.5573 MB / 1.227 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.4518, allocations: 205.2 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007994/0.4526, allocations: 462.2 kB / 1.228 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.4528, allocations: 183.3 kB / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.4529, allocations: 20 kB / 1.228 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.453, allocations: 83.88 kB / 1.228 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.4531, allocations: 91.72 kB / 1.228 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.4533, allocations: 119.4 kB / 1.228 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.4536, allocations: 291.1 kB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4536, allocations: 0 / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4536, allocations: 0 / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.4536, allocations: 0 / 1.229 GB, free: 5.012 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000756/0.4544, allocations: 0.5334 MB / 1.229 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.4544, allocations: 8.031 kB / 1.229 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.567e-05/0.4545, allocations: 54.55 kB / 1.229 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.4546, allocations: 27.66 kB / 1.229 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.4549, allocations: 275.3 kB / 1.23 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.4549, allocations: 12 kB / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.455, allocations: 23.94 kB / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.4554, allocations: 261.7 kB / 1.23 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4554, allocations: 7.875 kB / 1.23 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.4554, allocations: 8 kB / 1.23 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4554, allocations: 8 kB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.4558, allocations: 151.8 kB / 1.23 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.4571, allocations: 1.375 MB / 1.231 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.4574, allocations: 179.7 kB / 1.232 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.4575, allocations: 89.11 kB / 1.232 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/0.4579, allocations: 125.1 kB / 1.232 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.4579, allocations: 50.34 kB / 1.232 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.4579, allocations: 0 / 1.232 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005706/0.4585, allocations: 209.1 kB / 1.232 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.782e-05/0.4586, allocations: 183.9 kB / 1.232 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.4589, allocations: 287.6 kB / 1.232 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.4589, allocations: 33.7 kB / 1.233 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.459, allocations: 147.9 kB / 1.233 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.4591, allocations: 35.45 kB / 1.233 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.4591, allocations: 29.72 kB / 1.233 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4593, allocations: 338.8 kB / 1.233 GB, free: 212 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.4594, allocations: 47.95 kB / 1.233 GB, free: 164 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.4596, allocations: 121.5 kB / 1.233 GB, free: 16 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.4599, allocations: 150.7 kB / 1.233 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4599, allocations: 0 / 1.233 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003613/0.4603, allocations: 193.2 kB / 1.234 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.4603, allocations: 8 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4603, allocations: 0 / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.4603, allocations: 4 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.4605, allocations: 35.91 kB / 1.234 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.4605, allocations: 4 kB / 1.234 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.4606, allocations: 31.67 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.4607, allocations: 8 kB / 1.234 GB, free: 15.56 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001343/0.4608, allocations: 154.3 kB / 1.234 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.4609, allocations: 27.66 kB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.4612, allocations: 131.3 kB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4613, allocations: 4 kB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.4613, allocations: 3.938 kB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4613, allocations: 4 kB / 1.234 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008009/0.4621, allocations: 0.7729 MB / 1.235 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4621, allocations: 4 kB / 1.235 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.4622, allocations: 23.97 kB / 1.235 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.4622, allocations: 4 kB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.4622, allocations: 4 kB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4623, allocations: 12.09 kB / 1.235 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.4623, allocations: 3.938 kB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.4628, allocations: 339.4 kB / 1.235 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.09e-05/0.4629, allocations: 108.8 kB / 1.235 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.4629, allocations: 4 kB / 1.235 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.463, allocations: 7.984 kB / 1.235 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.4631, allocations: 15.92 kB / 1.235 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.4631, allocations: 4 kB / 1.235 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001958/0.4633, allocations: 214 kB / 1.235 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4633, allocations: 0 / 1.235 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000305/0.4636, allocations: 52 kB / 1.235 GB, free: 13.55 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.001004/0.4646, allocations: 0.9055 MB / 1.236 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.465, allocations: 123.9 kB / 1.236 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.465, allocations: 4 kB / 1.236 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.4651, allocations: 59.89 kB / 1.236 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/0.4659, allocations: 135.1 kB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.469, allocations: 2.629 MB / 1.239 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.4693, allocations: 0.7556 MB / 1.24 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.4695, allocations: 54.25 kB / 1.24 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.196e-05/0.4696, allocations: 63.42 kB / 1.24 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.4696, allocations: 0 / 1.24 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.48/1.95, allocations: 6.799 MB / 1.247 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/15.5, allocations: 1 kB / 1.247 GB, free: 1.949 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches