Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 116.8 kB / 17.16 MB, free: 6.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 206.4 kB / 20.13 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.85/2.85, allocations: 0.5003 GB / 0.8026 GB, free: 6.887 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.91 kB / 1.165 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9348/0.9367, allocations: 179 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.22/1.157, allocations: 171 MB / 1.507 GB, free: 13.21 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008611/1.165, allocations: 6.592 MB / 1.514 GB, free: 6.602 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000594/1.166, allocations: 19.81 kB / 1.514 GB, free: 6.582 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006451/1.167, allocations: 174.7 kB / 1.514 GB, free: 6.41 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00257/1.169, allocations: 0.8713 MB / 1.515 GB, free: 5.535 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/1.17, allocations: 327.5 kB / 1.515 GB, free: 5.219 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001137/1.171, allocations: 0.7134 MB / 1.516 GB, free: 4.504 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004657/1.172, allocations: 224.8 kB / 1.516 GB, free: 4.285 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/1.174, allocations: 0.7201 MB / 1.517 GB, free: 3.562 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/1.174, allocations: 282.9 kB / 1.517 GB, free: 3.285 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/1.174, allocations: 24 kB / 1.517 GB, free: 3.262 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007181/1.175, allocations: 355.1 kB / 1.517 GB, free: 2.914 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/1.175, allocations: 107.7 kB / 1.517 GB, free: 2.809 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/1.175, allocations: 159.2 kB / 1.517 GB, free: 2.652 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000759/1.176, allocations: 470.2 kB / 1.518 GB, free: 2.191 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.176, allocations: 4 kB / 1.518 GB, free: 2.188 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.693e-06/1.176, allocations: 0 / 1.518 GB, free: 2.188 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.176, allocations: 3.984 kB / 1.518 GB, free: 2.184 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001023/1.177, allocations: 0.619 MB / 1.519 GB, free: 1.516 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/1.177, allocations: 12.03 kB / 1.519 GB, free: 1.504 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.364e-05/1.177, allocations: 8.562 kB / 1.519 GB, free: 1.496 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.898e-05/1.177, allocations: 66.53 kB / 1.519 GB, free: 1.422 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/1.178, allocations: 63.67 kB / 1.519 GB, free: 1.359 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/1.178, allocations: 341.3 kB / 1.519 GB, free: 0.9844 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/1.178, allocations: 20.56 kB / 1.519 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/1.178, allocations: 24 kB / 1.519 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/1.179, allocations: 315.7 kB / 1.519 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/1.179, allocations: 7.938 kB / 1.519 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/1.179, allocations: 8 kB / 1.519 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/1.179, allocations: 8 kB / 1.519 GB, free: 0.582 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/1.179, allocations: 205.5 kB / 1.52 GB, free: 392 kB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/1.181, allocations: 1.535 MB / 1.521 GB, free: 14.71 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/1.181, allocations: 110.5 kB / 1.521 GB, free: 14.6 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/1.181, allocations: 84.81 kB / 1.521 GB, free: 14.51 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006277/1.182, allocations: 311.2 kB / 1.522 GB, free: 14.15 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/1.182, allocations: 30.56 kB / 1.522 GB, free: 14.11 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/1.182, allocations: 0 / 1.522 GB, free: 14.11 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0007872/1.183, allocations: 269.4 kB / 1.522 GB, free: 13.84 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/1.183, allocations: 55.41 kB / 1.522 GB, free: 13.78 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/1.183, allocations: 308.5 kB / 1.522 GB, free: 13.47 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/1.183, allocations: 29.7 kB / 1.522 GB, free: 13.43 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/1.183, allocations: 184.3 kB / 1.522 GB, free: 13.25 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/1.183, allocations: 51.56 kB / 1.522 GB, free: 13.2 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/1.184, allocations: 37.66 kB / 1.522 GB, free: 13.16 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.184, allocations: 350.7 kB / 1.523 GB, free: 12.8 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/1.184, allocations: 59.95 kB / 1.523 GB, free: 12.75 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/1.184, allocations: 113 kB / 1.523 GB, free: 12.62 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/1.184, allocations: 173 kB / 1.523 GB, free: 12.43 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.184, allocations: 0 / 1.523 GB, free: 12.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004425/1.185, allocations: 225.3 kB / 1.523 GB, free: 12.2 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.185, allocations: 4 kB / 1.523 GB, free: 12.2 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.185, allocations: 4 kB / 1.523 GB, free: 12.2 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/1.185, allocations: 0 / 1.523 GB, free: 12.2 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/1.185, allocations: 35.92 kB / 1.523 GB, free: 12.16 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/1.185, allocations: 0 / 1.523 GB, free: 12.16 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/1.185, allocations: 31.83 kB / 1.523 GB, free: 12.13 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/1.185, allocations: 4 kB / 1.523 GB, free: 12.12 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.000158/1.185, allocations: 161.8 kB / 1.524 GB, free: 11.96 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/1.186, allocations: 27.86 kB / 1.524 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/1.186, allocations: 219.9 kB / 1.524 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.186, allocations: 0 / 1.524 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.186, allocations: 0 / 1.524 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.186, allocations: 4 kB / 1.524 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/1.187, allocations: 0.6758 MB / 1.524 GB, free: 10.96 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.187, allocations: 224 / 1.524 GB, free: 10.96 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/1.187, allocations: 39.91 kB / 1.524 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.187, allocations: 0 / 1.524 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/1.187, allocations: 11.94 kB / 1.524 GB, free: 10.91 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/1.187, allocations: 4 kB / 1.525 GB, free: 10.9 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.187, allocations: 0 / 1.525 GB, free: 10.9 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/1.188, allocations: 341.2 kB / 1.525 GB, free: 10.53 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/1.188, allocations: 128.8 kB / 1.525 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/1.188, allocations: 3.938 kB / 1.525 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/1.188, allocations: 19.98 kB / 1.525 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/1.188, allocations: 11.92 kB / 1.525 GB, free: 10.35 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/1.188, allocations: 8 kB / 1.525 GB, free: 10.34 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002301/1.188, allocations: 223.1 kB / 1.525 GB, free: 10.12 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/1.188, allocations: 0 / 1.525 GB, free: 10.12 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003889/1.189, allocations: 75.88 kB / 1.525 GB, free: 10.05 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0009592/1.19, allocations: 0.8977 MB / 1.526 GB, free: 9.102 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004304/1.19, allocations: 155.8 kB / 1.526 GB, free: 8.949 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.19, allocations: 3.938 kB / 1.526 GB, free: 8.945 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/1.19, allocations: 83.81 kB / 1.526 GB, free: 8.863 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008098/1.191, allocations: 149.2 kB / 1.527 GB, free: 8.723 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/1.195, allocations: 2.811 MB / 1.529 GB, free: 5.754 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/1.195, allocations: 0.7795 MB / 1.53 GB, free: 4.949 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002472/1.196, allocations: 66.92 kB / 1.53 GB, free: 4.887 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/1.196, allocations: 95.34 kB / 1.53 GB, free: 4.793 MB / 1.201 GB Notification: Performance of SimCode: time 7.11e-07/1.196, allocations: 0 / 1.53 GB, free: 4.793 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/1.225, allocations: 8.164 MB / 1.538 GB, free: 12.83 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/9.415, allocations: 9.812 kB / 1.538 GB, free: 12.82 MB / 1.217 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.641032439016271]