Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_9_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.006755/0.006755, allocations: 100.3 kB / 15.73 MB, free: 5.977 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.001466/0.001466, allocations: 197.3 kB / 16.67 MB, free: 5.914 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.77 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.271, allocations: 140.4 MB / 1.087 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1622/0.4332, allocations: 161.4 MB / 1.245 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005393/0.4387, allocations: 4.56 MB / 1.25 GB, free: 11.4 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003985/0.4391, allocations: 7.938 kB / 1.25 GB, free: 11.39 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004566/0.4396, allocations: 123.1 kB / 1.25 GB, free: 11.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008995/0.4405, allocations: 330.4 kB / 1.25 GB, free: 10.95 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.4413, allocations: 286.8 kB / 1.25 GB, free: 10.67 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007531/0.4421, allocations: 0.5495 MB / 1.251 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004467/0.4426, allocations: 209.7 kB / 1.251 GB, free: 9.914 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.4436, allocations: 458.2 kB / 1.251 GB, free: 9.465 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.4439, allocations: 191.2 kB / 1.252 GB, free: 9.277 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.258e-05/0.444, allocations: 16 kB / 1.252 GB, free: 9.262 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.4442, allocations: 83.94 kB / 1.252 GB, free: 9.18 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.4443, allocations: 95.7 kB / 1.252 GB, free: 9.086 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.4444, allocations: 123.4 kB / 1.252 GB, free: 8.965 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.4448, allocations: 295.3 kB / 1.252 GB, free: 8.676 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4448, allocations: 0 / 1.252 GB, free: 8.676 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4448, allocations: 0 / 1.252 GB, free: 8.676 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.4449, allocations: 0 / 1.252 GB, free: 8.676 MB / 1.014 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.0008517/0.4457, allocations: 0.5294 MB / 1.253 GB, free: 8.098 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.4458, allocations: 8.031 kB / 1.253 GB, free: 8.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/0.4458, allocations: 54.55 kB / 1.253 GB, free: 8.027 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.4459, allocations: 31.64 kB / 1.253 GB, free: 7.996 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.4463, allocations: 295.2 kB / 1.253 GB, free: 7.668 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.4463, allocations: 12 kB / 1.253 GB, free: 7.656 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.4464, allocations: 23.94 kB / 1.253 GB, free: 7.633 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004216/0.4468, allocations: 261.7 kB / 1.253 GB, free: 7.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4468, allocations: 7.875 kB / 1.253 GB, free: 7.332 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.4468, allocations: 8 kB / 1.253 GB, free: 7.324 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.4469, allocations: 8 kB / 1.253 GB, free: 7.316 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.4472, allocations: 147.8 kB / 1.254 GB, free: 7.172 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.4485, allocations: 1.371 MB / 1.255 GB, free: 5.711 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.4488, allocations: 175.7 kB / 1.255 GB, free: 5.484 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.4489, allocations: 97.11 kB / 1.255 GB, free: 5.371 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/0.4493, allocations: 117.1 kB / 1.255 GB, free: 5.238 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.4493, allocations: 46.42 kB / 1.255 GB, free: 5.184 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.4493, allocations: 0 / 1.255 GB, free: 5.184 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006056/0.4499, allocations: 209.7 kB / 1.255 GB, free: 4.973 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/0.45, allocations: 187.9 kB / 1.256 GB, free: 4.746 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.4503, allocations: 291 kB / 1.256 GB, free: 4.457 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.4503, allocations: 25.7 kB / 1.256 GB, free: 4.426 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.4504, allocations: 151.8 kB / 1.256 GB, free: 4.273 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.4505, allocations: 35.45 kB / 1.256 GB, free: 4.238 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.4506, allocations: 33.72 kB / 1.256 GB, free: 4.199 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4507, allocations: 338.8 kB / 1.256 GB, free: 3.859 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.4508, allocations: 43.95 kB / 1.257 GB, free: 3.816 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.451, allocations: 111.7 kB / 1.257 GB, free: 3.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.4513, allocations: 166.9 kB / 1.257 GB, free: 3.492 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4513, allocations: 0 / 1.257 GB, free: 3.492 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003804/0.4517, allocations: 197.1 kB / 1.257 GB, free: 3.293 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4517, allocations: 4 kB / 1.257 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4517, allocations: 4 kB / 1.257 GB, free: 3.285 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4518, allocations: 224 / 1.257 GB, free: 3.285 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.4519, allocations: 39.91 kB / 1.257 GB, free: 3.246 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.4519, allocations: 4 kB / 1.257 GB, free: 3.242 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.4521, allocations: 35.67 kB / 1.257 GB, free: 3.207 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.4521, allocations: 4 kB / 1.257 GB, free: 3.203 MB / 1.014 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.0001246/0.4523, allocations: 142.4 kB / 1.257 GB, free: 3.055 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.4524, allocations: 31.66 kB / 1.257 GB, free: 3.023 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.4527, allocations: 134.9 kB / 1.257 GB, free: 2.883 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.4527, allocations: 0 / 1.257 GB, free: 2.883 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4528, allocations: 4 kB / 1.257 GB, free: 2.879 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4528, allocations: 0 / 1.257 GB, free: 2.879 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007781/0.4535, allocations: 0.7769 MB / 1.258 GB, free: 2.027 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4536, allocations: 0 / 1.258 GB, free: 2.027 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.4537, allocations: 23.97 kB / 1.258 GB, free: 2.004 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.4537, allocations: 4 kB / 1.258 GB, free: 2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.4537, allocations: 4 kB / 1.258 GB, free: 1.996 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4537, allocations: 3.938 kB / 1.258 GB, free: 1.992 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4537, allocations: 4 kB / 1.258 GB, free: 1.988 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/0.4542, allocations: 343.5 kB / 1.258 GB, free: 1.621 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.332e-05/0.4543, allocations: 108.8 kB / 1.259 GB, free: 1.496 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.4544, allocations: 8 kB / 1.259 GB, free: 1.488 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.4545, allocations: 12.05 kB / 1.259 GB, free: 1.477 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.4546, allocations: 15.92 kB / 1.259 GB, free: 1.461 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.4546, allocations: 8 kB / 1.259 GB, free: 1.453 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001874/0.4548, allocations: 209.9 kB / 1.259 GB, free: 1.246 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4548, allocations: 0 / 1.259 GB, free: 1.246 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003259/0.4551, allocations: 48 kB / 1.259 GB, free: 1.199 MB / 1.014 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.0009925/0.4561, allocations: 0.9166 MB / 1.26 GB, free: 256 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.4565, allocations: 119.8 kB / 1.26 GB, free: 136 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4565, allocations: 0.5 kB / 1.26 GB, free: 136 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.4566, allocations: 63.89 kB / 1.26 GB, free: 72 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5087/0.9653, allocations: 122.1 kB / 1.26 GB, free: 176.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.9687, allocations: 2.603 MB / 1.263 GB, free: 175.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.969, allocations: 0.7575 MB / 1.263 GB, free: 174.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001944/0.9692, allocations: 53.95 kB / 1.263 GB, free: 174.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.9693, allocations: 71.84 kB / 1.263 GB, free: 174.6 MB / 1.014 GB Notification: Performance of SimCode: time 1.032e-06/0.9693, allocations: 0 / 1.263 GB, free: 174.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.9986, allocations: 6.97 MB / 1.27 GB, free: 173.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.757, allocations: 7.25 kB / 1.27 GB, free: 173.9 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,senStr.port_a.m_flow,senStr.h_out,senFloSou.h_out Variables in the result:der(senStr.h_out),ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,senFloSou.h_out,senFloSou.port.Xi_outflow[1],senFloSou.port.h_outflow,senFloSou.port.m_flow,senFloSou.port.p,senFloSou.warnAboutOnePortConnection,senStr.allowFlowReversal,senStr.h_out,senStr.h_out_start,senStr.initType,senStr.m_flow_nominal,senStr.m_flow_small,senStr.port_a.Xi_outflow[1],senStr.port_a.h_outflow,senStr.port_a.m_flow,senStr.port_a.p,senStr.port_b.Xi_outflow[1],senStr.port_b.h_outflow,senStr.port_b.m_flow,senStr.port_b.p,senStr.tau,sin.X[1],sin.X[2],sin.h,sin.nPorts,sin.p,sin.ports[1].Xi_outflow[1],sin.ports[1].h_outflow,sin.ports[1].m_flow,sin.ports[1].p,sin.use_C_in,sin.use_X_in,sin.use_Xi_in,sin.use_h_in,sin.use_p_in,sin.verifyInputs,sou.X[1],sou.X[2],sou.h,sou.m_flow,sou.m_flow_in,sou.nPorts,sou.ports[1].Xi_outflow[1],sou.ports[1].h_outflow,sou.ports[1].m_flow,sou.ports[1].p,sou.ports[2].Xi_outflow[1],sou.ports[2].h_outflow,sou.ports[2].m_flow,sou.ports[2].p,sou.use_C_in,sou.use_X_in,sou.use_Xi_in,sou.use_h_in,sou.use_m_flow_in,sou.verifyInputs,time