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.001977/0.001977, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002536/0.002536, allocations: 161.6 kB / 23.55 MB, free: 0.8867 MB / 18.57 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.491/1.491, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.72/2.72, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: 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 1.603e-06/1.603e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.097e-05, allocations: 3.078 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2283/0.2284, allocations: 147.7 MB / 0.9307 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01072/0.2391, allocations: 5.982 MB / 0.9365 GB, free: 2.613 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006356/0.2397, allocations: 15.88 kB / 0.9365 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000813/0.2405, allocations: 178.7 kB / 0.9367 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.003018/0.2435, allocations: 0.8667 MB / 0.9375 GB, free: 1.551 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.2448, allocations: 379 kB / 0.9379 GB, free: 1.18 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001179/0.246, allocations: 0.7171 MB / 0.9386 GB, free: 468 kB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005428/0.2465, allocations: 231.3 kB / 0.9388 GB, free: 236 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.2483, allocations: 0.654 MB / 0.9395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000605/0.2489, allocations: 255.2 kB / 0.9397 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 7.779e-05/0.249, allocations: 24 kB / 0.9397 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007723/0.2498, allocations: 307.1 kB / 0.94 GB, free: 15 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.25, allocations: 111.6 kB / 0.9401 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.2502, allocations: 115.7 kB / 0.9402 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.2513, allocations: 482.5 kB / 0.9407 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2513, allocations: 0 / 0.9407 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2514, allocations: 0 / 0.9407 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.2514, allocations: 4 kB / 0.9407 GB, free: 14.3 MB / 0.9011 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.00124/0.2526, allocations: 0.5438 MB / 0.9412 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.2527, allocations: 8.031 kB / 0.9412 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004868/0.2531, allocations: 107.5 kB / 0.9413 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006563/0.2538, allocations: 268 kB / 0.9416 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.2538, allocations: 20.66 kB / 0.9416 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-05/0.2539, allocations: 28 kB / 0.9416 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006762/0.2546, allocations: 317 kB / 0.9419 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2546, allocations: 4 kB / 0.9419 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.2546, allocations: 8 kB / 0.942 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.2546, allocations: 8 kB / 0.942 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.2551, allocations: 201.8 kB / 0.9422 GB, free: 12.73 MB / 0.9011 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.001789/0.2569, allocations: 1.137 MB / 0.9433 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.2572, allocations: 110.5 kB / 0.9434 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/0.2577, allocations: 96.78 kB / 0.9435 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005289/0.2582, allocations: 67.92 kB / 0.9435 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.2582, allocations: 38.55 kB / 0.9436 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.2582, allocations: 0 / 0.9436 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of matching and sorting (n=13): time 0.0009018/0.2591, allocations: 279.8 kB / 0.9438 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.2592, allocations: 55.41 kB / 0.9439 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.2595, allocations: 229.8 kB / 0.9441 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.2596, allocations: 29.7 kB / 0.9441 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.2597, allocations: 192.2 kB / 0.9443 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.2598, allocations: 43.58 kB / 0.9444 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.121e-05/0.2599, allocations: 41.7 kB / 0.9444 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.2601, allocations: 334.8 kB / 0.9447 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.2603, allocations: 59.95 kB / 0.9448 GB, free: 9.918 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.2606, allocations: 186.2 kB / 0.945 GB, free: 9.699 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.261, allocations: 180.9 kB / 0.9451 GB, free: 9.504 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.261, allocations: 0 / 0.9451 GB, free: 9.504 MB / 0.9011 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005076/0.2615, allocations: 209.3 kB / 0.9453 GB, free: 9.293 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.2615, allocations: 11.94 kB / 0.9453 GB, free: 9.281 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2615, allocations: 0 / 0.9453 GB, free: 9.281 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.2615, allocations: 4 kB / 0.9453 GB, free: 9.277 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.2617, allocations: 44.06 kB / 0.9454 GB, free: 9.234 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.2618, allocations: 7.984 kB / 0.9454 GB, free: 9.227 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.2619, allocations: 19.88 kB / 0.9454 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.262, allocations: 8 kB / 0.9454 GB, free: 9.199 MB / 0.9011 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.0001821/0.2621, allocations: 145.8 kB / 0.9456 GB, free: 9.047 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.2622, allocations: 23.86 kB / 0.9456 GB, free: 9.023 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005224/0.2627, allocations: 211.2 kB / 0.9458 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.2627, allocations: 4 kB / 0.9458 GB, free: 8.805 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2627, allocations: 4 kB / 0.9458 GB, free: 8.801 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2627, allocations: 0 / 0.9458 GB, free: 8.801 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.2639, allocations: 0.5973 MB / 0.9464 GB, free: 8.145 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2639, allocations: 3.938 kB / 0.9464 GB, free: 8.141 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.2641, allocations: 36.14 kB / 0.9464 GB, free: 8.105 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2641, allocations: 64 / 0.9464 GB, free: 8.105 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.2641, allocations: 12 kB / 0.9464 GB, free: 8.094 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.2641, allocations: 4 kB / 0.9464 GB, free: 8.09 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2641, allocations: 0 / 0.9464 GB, free: 8.09 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.2646, allocations: 335.3 kB / 0.9467 GB, free: 7.727 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.802e-05/0.2647, allocations: 31.84 kB / 0.9468 GB, free: 7.695 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.2648, allocations: 8 kB / 0.9468 GB, free: 7.688 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.2649, allocations: 11.98 kB / 0.9468 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.265, allocations: 19.86 kB / 0.9468 GB, free: 7.656 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.265, allocations: 8 kB / 0.9468 GB, free: 7.648 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001766/0.2652, allocations: 161.2 kB / 0.947 GB, free: 7.492 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2652, allocations: 0 / 0.947 GB, free: 7.492 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004528/0.2656, allocations: 79.78 kB / 0.947 GB, free: 7.414 MB / 0.9011 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.0003243/0.2659, allocations: 139.1 kB / 0.9472 GB, free: 7.27 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004719/0.2664, allocations: 159.8 kB / 0.9473 GB, free: 7.113 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2664, allocations: 0 / 0.9473 GB, free: 7.113 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.2666, allocations: 84.58 kB / 0.9474 GB, free: 7.031 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006878/0.2673, allocations: 86.69 kB / 0.9475 GB, free: 6.949 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.2684, allocations: 0.5226 MB / 0.948 GB, free: 6.375 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.2687, allocations: 179.4 kB / 0.9482 GB, free: 6.184 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001839/0.2688, allocations: 45.92 kB / 0.9482 GB, free: 6.137 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.923e-05/0.2689, allocations: 20.5 kB / 0.9482 GB, free: 6.117 MB / 0.9011 GB Notification: Performance of SimCode: time 7.12e-07/0.2689, allocations: 0 / 0.9482 GB, free: 6.117 MB / 0.9011 GB Notification: Performance of Templates: time 0.01014/0.2791, allocations: 3.76 MB / 0.9519 GB, free: 2.465 MB / 0.9011 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 7.976291508064605]