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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001748/0.001748, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.407/1.407, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 443.5 MB / 0.7293 GB, free: 14.66 MB / 0.5762 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.91 kB / 1.057 GB, free: 2.086 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3455, allocations: 160.7 MB / 1.214 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.8512/1.197, allocations: 161.9 MB / 1.372 GB, free: 15.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006516/1.203, allocations: 4.569 MB / 1.377 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005435/1.204, allocations: 9.781 kB / 1.377 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005199/1.204, allocations: 129.4 kB / 1.377 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001047/1.205, allocations: 345.6 kB / 1.377 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009578/1.206, allocations: 279.9 kB / 1.377 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00086/1.207, allocations: 0.5601 MB / 1.378 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/1.207, allocations: 172.6 kB / 1.378 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/1.209, allocations: 467 kB / 1.379 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003344/1.209, allocations: 207.7 kB / 1.379 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/1.209, allocations: 16.59 kB / 1.379 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/1.209, allocations: 79.83 kB / 1.379 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/1.209, allocations: 90.27 kB / 1.379 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/1.209, allocations: 124.6 kB / 1.379 GB, free: 11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004596/1.21, allocations: 297.9 kB / 1.379 GB, free: 10.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.21, allocations: 0 / 1.379 GB, free: 10.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.013e-06/1.21, allocations: 1.094 kB / 1.379 GB, free: 10.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.064e-06/1.21, allocations: 0 / 1.379 GB, free: 10.89 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.0009324/1.211, allocations: 0.5412 MB / 1.38 GB, free: 10.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.211, allocations: 9.719 kB / 1.38 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.456e-05/1.211, allocations: 35.95 kB / 1.38 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/1.211, allocations: 292.9 kB / 1.38 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/1.211, allocations: 15.97 kB / 1.38 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/1.212, allocations: 20.11 kB / 1.38 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/1.212, allocations: 260 kB / 1.38 GB, free: 9.953 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/1.212, allocations: 1.031 kB / 1.38 GB, free: 9.953 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/1.212, allocations: 14.84 kB / 1.38 GB, free: 9.941 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/1.212, allocations: 5.594 kB / 1.38 GB, free: 9.941 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/1.212, allocations: 147.3 kB / 1.381 GB, free: 9.898 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/1.214, allocations: 1.37 MB / 1.382 GB, free: 8.688 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/1.214, allocations: 180.1 kB / 1.382 GB, free: 8.512 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/1.214, allocations: 88.94 kB / 1.382 GB, free: 8.449 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/1.215, allocations: 120 kB / 1.382 GB, free: 8.352 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/1.215, allocations: 45.03 kB / 1.382 GB, free: 8.301 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/1.215, allocations: 0 / 1.382 GB, free: 8.301 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0006579/1.215, allocations: 213.6 kB / 1.383 GB, free: 8.207 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/1.216, allocations: 182.5 kB / 1.383 GB, free: 7.988 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/1.216, allocations: 289.2 kB / 1.383 GB, free: 7.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/1.216, allocations: 27.61 kB / 1.383 GB, free: 7.809 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/1.216, allocations: 161 kB / 1.383 GB, free: 7.668 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/1.216, allocations: 35.86 kB / 1.383 GB, free: 7.641 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.218e-05/1.216, allocations: 32.91 kB / 1.383 GB, free: 7.617 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.216, allocations: 338.7 kB / 1.384 GB, free: 7.293 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/1.216, allocations: 40.03 kB / 1.384 GB, free: 7.285 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/1.217, allocations: 121.4 kB / 1.384 GB, free: 7.191 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/1.217, allocations: 159 kB / 1.384 GB, free: 7.086 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/1.217, allocations: 0 / 1.384 GB, free: 7.086 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004/1.217, allocations: 189.6 kB / 1.384 GB, free: 7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/1.217, allocations: 10.25 kB / 1.384 GB, free: 6.996 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.217, allocations: 1.094 kB / 1.384 GB, free: 6.996 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/1.217, allocations: 4.438 kB / 1.384 GB, free: 6.996 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/1.218, allocations: 32.47 kB / 1.384 GB, free: 6.992 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/1.218, allocations: 4.422 kB / 1.384 GB, free: 6.992 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/1.218, allocations: 32.31 kB / 1.384 GB, free: 6.973 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/1.218, allocations: 10.16 kB / 1.384 GB, free: 6.973 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.0001637/1.218, allocations: 154.2 kB / 1.384 GB, free: 6.836 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/1.218, allocations: 31.31 kB / 1.384 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003418/1.218, allocations: 125.4 kB / 1.384 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.218, allocations: 1.469 kB / 1.384 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.218, allocations: 2.562 kB / 1.384 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.218, allocations: 1.25 kB / 1.384 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009418/1.219, allocations: 0.7774 MB / 1.385 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.219, allocations: 1.875 kB / 1.385 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/1.22, allocations: 22.34 kB / 1.385 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.22, allocations: 1.359 kB / 1.385 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/1.22, allocations: 10.73 kB / 1.385 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/1.22, allocations: 4.812 kB / 1.385 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.22, allocations: 9.406 kB / 1.385 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/1.22, allocations: 340.5 kB / 1.386 GB, free: 5.781 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/1.22, allocations: 114.5 kB / 1.386 GB, free: 5.668 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/1.22, allocations: 6.875 kB / 1.386 GB, free: 5.664 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/1.22, allocations: 7.391 kB / 1.386 GB, free: 5.664 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/1.221, allocations: 15.14 kB / 1.386 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/1.221, allocations: 6.938 kB / 1.386 GB, free: 5.652 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002184/1.221, allocations: 210.5 kB / 1.386 GB, free: 5.535 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.221, allocations: 5.312 kB / 1.386 GB, free: 5.531 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003778/1.221, allocations: 55.61 kB / 1.386 GB, free: 5.523 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.0003817/1.221, allocations: 140.5 kB / 1.386 GB, free: 5.422 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003944/1.222, allocations: 124.5 kB / 1.386 GB, free: 5.363 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.222, allocations: 1.594 kB / 1.386 GB, free: 5.363 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/1.222, allocations: 54.62 kB / 1.386 GB, free: 5.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007564/1.223, allocations: 128.8 kB / 1.386 GB, free: 5.285 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009901/1.224, allocations: 0.5096 MB / 1.387 GB, free: 4.887 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/1.224, allocations: 0.7581 MB / 1.388 GB, free: 4.152 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/1.224, allocations: 29.61 kB / 1.388 GB, free: 4.137 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/1.224, allocations: 0 / 1.388 GB, free: 4.137 MB / 1.061 GB Notification: Performance of Templates: time 0.008038/1.232, allocations: 3.836 MB / 1.391 GB, free: 2.172 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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: 12.31990955513902]