Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001323/0.001323, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001447/0.001447, allocations: 219 kB / 22.26 MB, free: 5.125 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.857/2.857, allocations: 476.7 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",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.002083/0.002083, allocations: 67.08 kB / 1.117 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3639, allocations: 170 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2229/0.5869, allocations: 171.2 MB / 1.451 GB, free: 15.86 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.009915/0.5968, allocations: 6.637 MB / 1.457 GB, free: 9.203 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005958/0.5974, allocations: 15.88 kB / 1.457 GB, free: 9.188 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007385/0.5981, allocations: 166.7 kB / 1.457 GB, free: 9.023 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002508/0.6006, allocations: 0.8869 MB / 1.458 GB, free: 8.133 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.6017, allocations: 344.5 kB / 1.458 GB, free: 7.797 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.6028, allocations: 0.7368 MB / 1.459 GB, free: 7.055 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004356/0.6032, allocations: 214.9 kB / 1.459 GB, free: 6.848 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.6046, allocations: 0.5876 MB / 1.46 GB, free: 6.258 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004879/0.6051, allocations: 279 kB / 1.46 GB, free: 5.984 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.621e-05/0.6051, allocations: 24 kB / 1.46 GB, free: 5.961 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008198/0.6059, allocations: 379.1 kB / 1.461 GB, free: 5.59 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.6061, allocations: 115.6 kB / 1.461 GB, free: 5.477 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.6063, allocations: 163.2 kB / 1.461 GB, free: 5.316 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0007507/0.607, allocations: 474.7 kB / 1.461 GB, free: 4.852 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.607, allocations: 0 / 1.461 GB, free: 4.852 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.362e-06/0.607, allocations: 0 / 1.461 GB, free: 4.852 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.607, allocations: 0 / 1.461 GB, free: 4.852 MB / 1.154 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.0008881/0.6079, allocations: 0.5438 MB / 1.462 GB, free: 4.277 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.608, allocations: 16.02 kB / 1.462 GB, free: 4.262 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.12e-05/0.6081, allocations: 58.55 kB / 1.462 GB, free: 4.195 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.6084, allocations: 71.61 kB / 1.462 GB, free: 4.125 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.6089, allocations: 259.6 kB / 1.462 GB, free: 3.848 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.6089, allocations: 20.66 kB / 1.462 GB, free: 3.824 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.609, allocations: 24 kB / 1.462 GB, free: 3.801 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005571/0.6095, allocations: 328.8 kB / 1.463 GB, free: 3.457 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.6095, allocations: 4 kB / 1.463 GB, free: 3.453 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.6096, allocations: 12 kB / 1.463 GB, free: 3.441 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.6096, allocations: 4 kB / 1.463 GB, free: 3.438 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/0.61, allocations: 209.4 kB / 1.463 GB, free: 3.23 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.6117, allocations: 1.496 MB / 1.464 GB, free: 1.609 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.6119, allocations: 118.5 kB / 1.464 GB, free: 1.484 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.6121, allocations: 80.81 kB / 1.464 GB, free: 1.402 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004853/0.6126, allocations: 79.91 kB / 1.464 GB, free: 1.324 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.6126, allocations: 30.56 kB / 1.465 GB, free: 1.285 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.6126, allocations: 0 / 1.465 GB, free: 1.285 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.000738/0.6134, allocations: 262 kB / 1.465 GB, free: 1.023 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.6134, allocations: 63.59 kB / 1.465 GB, free: 0.9492 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.6138, allocations: 312.5 kB / 1.465 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.6138, allocations: 29.7 kB / 1.465 GB, free: 0.5977 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.614, allocations: 184.2 kB / 1.465 GB, free: 424 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.614, allocations: 47.58 kB / 1.465 GB, free: 376 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.6141, allocations: 33.72 kB / 1.465 GB, free: 336 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.6142, allocations: 338.8 kB / 1.466 GB, free: 15.99 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.6144, allocations: 63.86 kB / 1.466 GB, free: 15.93 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.6146, allocations: 113.1 kB / 1.466 GB, free: 15.8 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.6149, allocations: 180.9 kB / 1.466 GB, free: 15.6 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6149, allocations: 0 / 1.466 GB, free: 15.6 MB / 1.17 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004163/0.6153, allocations: 213.3 kB / 1.466 GB, free: 15.39 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6153, allocations: 4.156 kB / 1.466 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.6153, allocations: 8 kB / 1.466 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6154, allocations: 3.984 kB / 1.466 GB, free: 15.37 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.6155, allocations: 35.92 kB / 1.466 GB, free: 15.34 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.6155, allocations: 0 / 1.466 GB, free: 15.34 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.6157, allocations: 35.83 kB / 1.466 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.6157, allocations: 4 kB / 1.466 GB, free: 15.3 MB / 1.17 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.0001583/0.6159, allocations: 153.7 kB / 1.467 GB, free: 15.14 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.6159, allocations: 31.81 kB / 1.467 GB, free: 15.11 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/0.6164, allocations: 213.2 kB / 1.467 GB, free: 14.89 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6164, allocations: 0 / 1.467 GB, free: 14.89 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6164, allocations: 0 / 1.467 GB, free: 14.89 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6164, allocations: 8.031 kB / 1.467 GB, free: 14.88 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.6175, allocations: 0.6552 MB / 1.467 GB, free: 14.15 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6175, allocations: 7.938 kB / 1.467 GB, free: 14.14 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.6176, allocations: 23.98 kB / 1.467 GB, free: 14.12 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.6176, allocations: 4.219 kB / 1.467 GB, free: 14.12 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.6176, allocations: 15.88 kB / 1.467 GB, free: 14.1 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.6177, allocations: 7.938 kB / 1.467 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6177, allocations: 4 kB / 1.467 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.6181, allocations: 334.1 kB / 1.468 GB, free: 13.73 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-05/0.6182, allocations: 43.73 kB / 1.468 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.6182, allocations: 11.94 kB / 1.468 GB, free: 13.67 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.6184, allocations: 7.984 kB / 1.468 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.6184, allocations: 19.98 kB / 1.468 GB, free: 13.64 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.6185, allocations: 4 kB / 1.468 GB, free: 13.64 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002185/0.6187, allocations: 223 kB / 1.468 GB, free: 13.43 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6187, allocations: 0 / 1.468 GB, free: 13.43 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003736/0.619, allocations: 71.89 kB / 1.468 GB, free: 13.36 MB / 1.17 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.0009315/0.62, allocations: 0.9133 MB / 1.469 GB, free: 12.39 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003999/0.6204, allocations: 152 kB / 1.469 GB, free: 12.25 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6204, allocations: 4.062 kB / 1.469 GB, free: 12.24 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.6206, allocations: 79.89 kB / 1.469 GB, free: 12.16 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008154/0.6214, allocations: 154.2 kB / 1.469 GB, free: 12.02 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.625, allocations: 2.817 MB / 1.472 GB, free: 9.047 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.6254, allocations: 0.7795 MB / 1.473 GB, free: 8.242 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001932/0.6256, allocations: 66.92 kB / 1.473 GB, free: 8.176 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.6258, allocations: 91.41 kB / 1.473 GB, free: 8.09 MB / 1.17 GB Notification: Performance of SimCode: time 4.31e-07/0.6258, allocations: 0 / 1.473 GB, free: 8.09 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.664, allocations: 8.313 MB / 1.481 GB, free: 15.99 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.23, allocations: 6.469 kB / 1.481 GB, free: 15.99 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.96411702502519]