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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 194 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.783/2.783, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 75.88 kB / 1.109 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8019/0.8041, allocations: 168.7 MB / 1.274 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.203/1.007, allocations: 168.3 MB / 1.438 GB, free: 11.52 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009228/1.016, allocations: 6.635 MB / 1.445 GB, free: 4.863 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004749/1.017, allocations: 11.94 kB / 1.445 GB, free: 4.852 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000738/1.017, allocations: 174.7 kB / 1.445 GB, free: 4.68 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002569/1.02, allocations: 0.8713 MB / 1.446 GB, free: 3.805 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/1.021, allocations: 335.9 kB / 1.446 GB, free: 3.48 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001204/1.022, allocations: 0.7212 MB / 1.447 GB, free: 2.754 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005308/1.023, allocations: 221.6 kB / 1.447 GB, free: 2.543 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/1.024, allocations: 0.5721 MB / 1.448 GB, free: 1.969 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006622/1.025, allocations: 279 kB / 1.448 GB, free: 1.695 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.459e-05/1.025, allocations: 24 kB / 1.448 GB, free: 1.672 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000842/1.026, allocations: 367.1 kB / 1.448 GB, free: 1.312 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/1.026, allocations: 115.6 kB / 1.448 GB, free: 1.199 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002439/1.026, allocations: 167.1 kB / 1.449 GB, free: 1.035 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0008484/1.027, allocations: 470.2 kB / 1.449 GB, free: 0.5742 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/1.027, allocations: 0 / 1.449 GB, free: 0.5742 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.352e-06/1.027, allocations: 0 / 1.449 GB, free: 0.5742 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.198e-05/1.027, allocations: 3.938 kB / 1.449 GB, free: 0.5703 MB / 1.139 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.001056/1.028, allocations: 0.619 MB / 1.45 GB, free: 15.9 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/1.028, allocations: 12.03 kB / 1.45 GB, free: 15.89 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003318/1.029, allocations: 63.73 kB / 1.45 GB, free: 15.83 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/1.029, allocations: 329.3 kB / 1.45 GB, free: 15.46 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/1.029, allocations: 20.56 kB / 1.45 GB, free: 15.45 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/1.029, allocations: 28 kB / 1.45 GB, free: 15.42 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/1.03, allocations: 315.7 kB / 1.45 GB, free: 15.09 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.03, allocations: 0 / 1.45 GB, free: 15.09 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/1.03, allocations: 12 kB / 1.45 GB, free: 15.07 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/1.03, allocations: 8 kB / 1.45 GB, free: 15.07 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004954/1.03, allocations: 201.6 kB / 1.451 GB, free: 14.87 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.001935/1.032, allocations: 1.542 MB / 1.452 GB, free: 13.19 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/1.033, allocations: 118.5 kB / 1.452 GB, free: 13.07 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/1.033, allocations: 88.73 kB / 1.452 GB, free: 12.98 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006307/1.033, allocations: 295.2 kB / 1.453 GB, free: 12.63 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/1.034, allocations: 42.56 kB / 1.453 GB, free: 12.58 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/1.034, allocations: 0 / 1.453 GB, free: 12.58 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0008782/1.034, allocations: 269.6 kB / 1.453 GB, free: 12.31 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/1.034, allocations: 51.41 kB / 1.453 GB, free: 12.25 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/1.035, allocations: 312.5 kB / 1.453 GB, free: 11.94 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/1.035, allocations: 33.7 kB / 1.453 GB, free: 11.9 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/1.035, allocations: 180.3 kB / 1.453 GB, free: 11.72 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/1.035, allocations: 43.58 kB / 1.453 GB, free: 11.68 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/1.035, allocations: 45.66 kB / 1.454 GB, free: 11.62 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.035, allocations: 338.8 kB / 1.454 GB, free: 11.29 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/1.035, allocations: 59.89 kB / 1.454 GB, free: 11.23 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/1.036, allocations: 123.3 kB / 1.454 GB, free: 11.09 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/1.036, allocations: 173 kB / 1.454 GB, free: 10.9 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/1.036, allocations: 7.938 kB / 1.454 GB, free: 10.89 MB / 1.154 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004739/1.037, allocations: 221.3 kB / 1.454 GB, free: 10.67 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.037, allocations: 8 kB / 1.454 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.037, allocations: 0 / 1.454 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/1.037, allocations: 4.156 kB / 1.454 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/1.037, allocations: 35.92 kB / 1.454 GB, free: 10.62 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/1.037, allocations: 4 kB / 1.454 GB, free: 10.62 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/1.037, allocations: 23.81 kB / 1.454 GB, free: 10.6 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/1.037, allocations: 15.94 kB / 1.454 GB, free: 10.58 MB / 1.154 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.0001615/1.037, allocations: 149.7 kB / 1.455 GB, free: 10.43 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/1.037, allocations: 35.8 kB / 1.455 GB, free: 10.39 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005357/1.038, allocations: 206.1 kB / 1.455 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.038, allocations: 4 kB / 1.455 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.038, allocations: 0 / 1.455 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.038, allocations: 0 / 1.455 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/1.039, allocations: 0.6835 MB / 1.456 GB, free: 9.414 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.039, allocations: 4 kB / 1.456 GB, free: 9.41 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/1.039, allocations: 31.91 kB / 1.456 GB, free: 9.379 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/1.039, allocations: 4 kB / 1.456 GB, free: 9.375 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/1.039, allocations: 8 kB / 1.456 GB, free: 9.367 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/1.039, allocations: 4.156 kB / 1.456 GB, free: 9.363 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.039, allocations: 8 kB / 1.456 GB, free: 9.355 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/1.04, allocations: 329.2 kB / 1.456 GB, free: 8.996 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/1.04, allocations: 124.8 kB / 1.456 GB, free: 8.855 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/1.04, allocations: 4.109 kB / 1.456 GB, free: 8.852 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/1.04, allocations: 23.91 kB / 1.456 GB, free: 8.828 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/1.04, allocations: 15.92 kB / 1.456 GB, free: 8.812 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/1.04, allocations: 12 kB / 1.456 GB, free: 8.801 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002329/1.04, allocations: 219.1 kB / 1.456 GB, free: 8.59 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.04, allocations: 0 / 1.456 GB, free: 8.59 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000379/1.041, allocations: 75.88 kB / 1.456 GB, free: 8.516 MB / 1.154 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.0003886/1.041, allocations: 153.2 kB / 1.457 GB, free: 8.363 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004356/1.041, allocations: 158.9 kB / 1.457 GB, free: 8.211 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.041, allocations: 0 / 1.457 GB, free: 8.211 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/1.042, allocations: 84.39 kB / 1.457 GB, free: 8.129 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000876/1.042, allocations: 150.9 kB / 1.457 GB, free: 7.984 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009813/1.043, allocations: 0.5402 MB / 1.457 GB, free: 7.395 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/1.044, allocations: 0.7795 MB / 1.458 GB, free: 6.586 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001822/1.044, allocations: 62.92 kB / 1.458 GB, free: 6.523 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.62e-05/1.044, allocations: 27.44 kB / 1.458 GB, free: 6.496 MB / 1.154 GB Notification: Performance of SimCode: time 5.41e-07/1.044, allocations: 0 / 1.458 GB, free: 6.496 MB / 1.154 GB Notification: Performance of Templates: time 0.01129/1.055, allocations: 5.229 MB / 1.463 GB, free: 1.352 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 400] 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_2/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: 8.77754136081785]