Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SpecificEnthalpy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_10_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.005738/0.005739, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001239/0.001239, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.432/2.432, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 60.12 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8207/0.822, allocations: 151.6 MB / 1.166 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1785/1.001, allocations: 161.4 MB / 1.324 GB, free: 1.734 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006333/1.007, allocations: 4.544 MB / 1.328 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/1.007, allocations: 11.94 kB / 1.328 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005294/1.008, allocations: 131 kB / 1.328 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/1.009, allocations: 338.4 kB / 1.329 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008523/1.01, allocations: 278.5 kB / 1.329 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007796/1.011, allocations: 0.5612 MB / 1.329 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004328/1.011, allocations: 209 kB / 1.33 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/1.012, allocations: 470.2 kB / 1.33 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003823/1.013, allocations: 191.2 kB / 1.33 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.114e-05/1.013, allocations: 20 kB / 1.33 GB, free: 11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/1.013, allocations: 83.92 kB / 1.33 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/1.013, allocations: 83.78 kB / 1.33 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/1.013, allocations: 123.3 kB / 1.331 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005247/1.014, allocations: 295 kB / 1.331 GB, free: 10.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.014, allocations: 4 kB / 1.331 GB, free: 10.42 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.132e-06/1.014, allocations: 0 / 1.331 GB, free: 10.42 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.262e-05/1.014, allocations: 0 / 1.331 GB, free: 10.42 MB / 1.061 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.001114/1.015, allocations: 0.5256 MB / 1.331 GB, free: 9.848 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/1.015, allocations: 8.922 kB / 1.331 GB, free: 9.84 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.372e-05/1.015, allocations: 54.55 kB / 1.331 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/1.015, allocations: 31.56 kB / 1.331 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000502/1.016, allocations: 291.2 kB / 1.332 GB, free: 9.422 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/1.016, allocations: 15.98 kB / 1.332 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.026e-05/1.016, allocations: 20 kB / 1.332 GB, free: 9.387 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/1.016, allocations: 265.8 kB / 1.332 GB, free: 9.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/1.016, allocations: 3.938 kB / 1.332 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/1.017, allocations: 8 kB / 1.332 GB, free: 9.078 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/1.017, allocations: 4 kB / 1.332 GB, free: 9.074 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/1.017, allocations: 152.3 kB / 1.332 GB, free: 8.926 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/1.019, allocations: 1.367 MB / 1.334 GB, free: 7.469 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/1.019, allocations: 187.7 kB / 1.334 GB, free: 7.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/1.019, allocations: 97.11 kB / 1.334 GB, free: 7.117 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003585/1.019, allocations: 113 kB / 1.334 GB, free: 6.988 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/1.019, allocations: 50.44 kB / 1.334 GB, free: 6.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/1.02, allocations: 0 / 1.334 GB, free: 6.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0006862/1.02, allocations: 205.8 kB / 1.334 GB, free: 6.723 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/1.02, allocations: 187.9 kB / 1.334 GB, free: 6.496 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/1.021, allocations: 291 kB / 1.335 GB, free: 6.211 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/1.021, allocations: 29.7 kB / 1.335 GB, free: 6.176 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/1.021, allocations: 143.9 kB / 1.335 GB, free: 6.031 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/1.021, allocations: 35.48 kB / 1.335 GB, free: 5.996 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.639e-05/1.021, allocations: 37.7 kB / 1.335 GB, free: 5.953 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.021, allocations: 334.8 kB / 1.335 GB, free: 5.617 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/1.021, allocations: 47.95 kB / 1.335 GB, free: 5.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/1.021, allocations: 115.7 kB / 1.335 GB, free: 5.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/1.022, allocations: 150.7 kB / 1.335 GB, free: 5.258 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.022, allocations: 7.938 kB / 1.335 GB, free: 5.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003963/1.022, allocations: 197.1 kB / 1.336 GB, free: 5.051 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.022, allocations: 4 kB / 1.336 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.022, allocations: 4.312 kB / 1.336 GB, free: 5.043 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.022, allocations: 0 / 1.336 GB, free: 5.043 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/1.022, allocations: 28.2 kB / 1.336 GB, free: 5.016 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/1.022, allocations: 19.92 kB / 1.336 GB, free: 4.996 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/1.023, allocations: 27.75 kB / 1.336 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/1.023, allocations: 7.984 kB / 1.336 GB, free: 4.961 MB / 1.061 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.0001399/1.023, allocations: 153.8 kB / 1.336 GB, free: 4.801 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/1.023, allocations: 31.59 kB / 1.336 GB, free: 4.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/1.023, allocations: 131 kB / 1.336 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.023, allocations: 0 / 1.336 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.023, allocations: 7.984 kB / 1.336 GB, free: 4.621 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/1.023, allocations: 0 / 1.336 GB, free: 4.621 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008576/1.024, allocations: 0.7613 MB / 1.337 GB, free: 3.785 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.024, allocations: 4.203 kB / 1.337 GB, free: 3.781 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/1.024, allocations: 31.91 kB / 1.337 GB, free: 3.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/1.024, allocations: 0 / 1.337 GB, free: 3.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/1.024, allocations: 11.98 kB / 1.337 GB, free: 3.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.024, allocations: 0 / 1.337 GB, free: 3.738 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.024, allocations: 4 kB / 1.337 GB, free: 3.734 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005408/1.025, allocations: 335.3 kB / 1.337 GB, free: 3.375 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/1.025, allocations: 112.8 kB / 1.337 GB, free: 3.246 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/1.025, allocations: 0 / 1.337 GB, free: 3.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/1.025, allocations: 12.05 kB / 1.337 GB, free: 3.234 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/1.025, allocations: 19.88 kB / 1.337 GB, free: 3.215 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/1.025, allocations: 4 kB / 1.337 GB, free: 3.211 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000205/1.026, allocations: 213.9 kB / 1.338 GB, free: 3 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.6e-07/1.026, allocations: 0 / 1.338 GB, free: 3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003517/1.026, allocations: 55.84 kB / 1.338 GB, free: 2.945 MB / 1.061 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.00111/1.027, allocations: 0.9184 MB / 1.338 GB, free: 1.992 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003746/1.027, allocations: 119.8 kB / 1.339 GB, free: 1.875 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.027, allocations: 0 / 1.339 GB, free: 1.875 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/1.028, allocations: 60.66 kB / 1.339 GB, free: 1.816 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007587/1.028, allocations: 132.1 kB / 1.339 GB, free: 1.691 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/1.032, allocations: 2.598 MB / 1.341 GB, free: 14.94 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/1.032, allocations: 0.7558 MB / 1.342 GB, free: 14.16 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001591/1.032, allocations: 50.25 kB / 1.342 GB, free: 14.11 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/1.032, allocations: 67.42 kB / 1.342 GB, free: 14.05 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/1.032, allocations: 3.938 kB / 1.342 GB, free: 14.04 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/1.058, allocations: 6.875 MB / 1.349 GB, free: 7.328 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.964, allocations: 20.55 kB / 1.349 GB, free: 7.309 MB / 1.076 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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