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.001396/0.001396, allocations: 110 kB / 18.93 MB, free: 2.945 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.00203/0.00203, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.542/1.542, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.752/2.752, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001986/0.001986, allocations: 63.89 kB / 1.061 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9446/0.9466, allocations: 160.8 MB / 1.218 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2201/1.167, allocations: 162 MB / 1.377 GB, free: 4.617 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006469/1.173, allocations: 4.607 MB / 1.381 GB, free: 15.99 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/1.174, allocations: 19.81 kB / 1.381 GB, free: 15.97 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005031/1.174, allocations: 131 kB / 1.381 GB, free: 15.84 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0009359/1.175, allocations: 354.3 kB / 1.382 GB, free: 15.5 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009057/1.176, allocations: 290 kB / 1.382 GB, free: 15.22 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.000798/1.177, allocations: 0.569 MB / 1.383 GB, free: 14.65 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/1.177, allocations: 149.5 kB / 1.383 GB, free: 14.5 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/1.178, allocations: 490.1 kB / 1.383 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/1.179, allocations: 203.2 kB / 1.383 GB, free: 13.82 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/1.179, allocations: 16 kB / 1.383 GB, free: 13.81 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/1.179, allocations: 87.92 kB / 1.383 GB, free: 13.72 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/1.179, allocations: 91.66 kB / 1.384 GB, free: 13.63 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/1.179, allocations: 115.4 kB / 1.384 GB, free: 13.52 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0004463/1.179, allocations: 305.3 kB / 1.384 GB, free: 13.23 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/1.18, allocations: 0 / 1.384 GB, free: 13.23 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.764e-06/1.18, allocations: 0 / 1.384 GB, free: 13.23 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.342e-06/1.18, allocations: 4 kB / 1.384 GB, free: 13.22 MB / 1.092 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.0009114/1.18, allocations: 0.5331 MB / 1.384 GB, free: 12.64 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/1.18, allocations: 8.031 kB / 1.384 GB, free: 12.63 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/1.181, allocations: 35.75 kB / 1.384 GB, free: 12.6 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/1.181, allocations: 299.2 kB / 1.385 GB, free: 12.27 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/1.181, allocations: 16 kB / 1.385 GB, free: 12.25 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.699e-05/1.181, allocations: 20 kB / 1.385 GB, free: 12.23 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/1.182, allocations: 257.8 kB / 1.385 GB, free: 11.94 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/1.182, allocations: 4 kB / 1.385 GB, free: 11.94 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/1.182, allocations: 11.94 kB / 1.385 GB, free: 11.93 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/1.182, allocations: 11.98 kB / 1.385 GB, free: 11.91 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/1.182, allocations: 143.8 kB / 1.385 GB, free: 11.77 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/1.183, allocations: 1.379 MB / 1.387 GB, free: 10.3 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/1.184, allocations: 179.7 kB / 1.387 GB, free: 10.07 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/1.184, allocations: 97.05 kB / 1.387 GB, free: 9.961 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003678/1.184, allocations: 117 kB / 1.387 GB, free: 9.828 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/1.184, allocations: 54.42 kB / 1.387 GB, free: 9.766 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/1.184, allocations: 3.938 kB / 1.387 GB, free: 9.762 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0006189/1.185, allocations: 197.3 kB / 1.387 GB, free: 9.562 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/1.185, allocations: 188.5 kB / 1.387 GB, free: 9.336 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/1.185, allocations: 292.2 kB / 1.388 GB, free: 9.043 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/1.186, allocations: 25.7 kB / 1.388 GB, free: 9.012 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/1.186, allocations: 155.9 kB / 1.388 GB, free: 8.855 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/1.186, allocations: 35.69 kB / 1.388 GB, free: 8.82 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/1.186, allocations: 29.72 kB / 1.388 GB, free: 8.785 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.186, allocations: 338.8 kB / 1.388 GB, free: 8.445 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/1.186, allocations: 43.95 kB / 1.388 GB, free: 8.402 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/1.186, allocations: 115.6 kB / 1.388 GB, free: 8.262 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/1.187, allocations: 162.7 kB / 1.388 GB, free: 8.078 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/1.187, allocations: 0 / 1.388 GB, free: 8.078 MB / 1.092 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003888/1.187, allocations: 189.3 kB / 1.389 GB, free: 7.887 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.187, allocations: 11.94 kB / 1.389 GB, free: 7.875 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/1.187, allocations: 0 / 1.389 GB, free: 7.875 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.187, allocations: 4 kB / 1.389 GB, free: 7.871 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/1.187, allocations: 31.97 kB / 1.389 GB, free: 7.84 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/1.187, allocations: 7.875 kB / 1.389 GB, free: 7.832 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/1.187, allocations: 32.05 kB / 1.389 GB, free: 7.801 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/1.187, allocations: 12 kB / 1.389 GB, free: 7.789 MB / 1.092 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.0001437/1.188, allocations: 137.8 kB / 1.389 GB, free: 7.645 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/1.188, allocations: 31.8 kB / 1.389 GB, free: 7.613 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/1.188, allocations: 139.3 kB / 1.389 GB, free: 7.465 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.188, allocations: 4 kB / 1.389 GB, free: 7.461 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.188, allocations: 0 / 1.389 GB, free: 7.461 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.188, allocations: 0 / 1.389 GB, free: 7.461 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009777/1.189, allocations: 0.773 MB / 1.39 GB, free: 6.613 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.189, allocations: 0 / 1.39 GB, free: 6.613 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/1.189, allocations: 31.91 kB / 1.39 GB, free: 6.582 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/1.189, allocations: 160 / 1.39 GB, free: 6.582 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/1.189, allocations: 8 kB / 1.39 GB, free: 6.574 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.189, allocations: 4 kB / 1.39 GB, free: 6.57 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.189, allocations: 0 / 1.39 GB, free: 6.57 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/1.19, allocations: 343.4 kB / 1.39 GB, free: 6.203 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/1.19, allocations: 112.9 kB / 1.39 GB, free: 6.074 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/1.19, allocations: 8 kB / 1.39 GB, free: 6.066 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/1.19, allocations: 7.984 kB / 1.39 GB, free: 6.059 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/1.19, allocations: 19.89 kB / 1.39 GB, free: 6.039 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/1.19, allocations: 12.06 kB / 1.39 GB, free: 6.027 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002297/1.19, allocations: 211.1 kB / 1.391 GB, free: 5.82 MB / 1.092 GB Notification: Performance of sort global known variables: time 6e-08/1.19, allocations: 0 / 1.391 GB, free: 5.82 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003474/1.191, allocations: 51.94 kB / 1.391 GB, free: 5.77 MB / 1.092 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.0003525/1.191, allocations: 132.5 kB / 1.391 GB, free: 5.641 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003682/1.191, allocations: 131.7 kB / 1.391 GB, free: 5.512 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.191, allocations: 0 / 1.391 GB, free: 5.512 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/1.192, allocations: 63.83 kB / 1.391 GB, free: 5.449 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007173/1.192, allocations: 124.4 kB / 1.391 GB, free: 5.332 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/1.193, allocations: 500 kB / 1.392 GB, free: 4.805 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/1.194, allocations: 0.7597 MB / 1.392 GB, free: 4.016 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001362/1.194, allocations: 42.27 kB / 1.392 GB, free: 3.969 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/1.194, allocations: 23.44 kB / 1.392 GB, free: 3.949 MB / 1.092 GB Notification: Performance of SimCode: time 2.91e-07/1.194, allocations: 0 / 1.392 GB, free: 3.949 MB / 1.092 GB Notification: Performance of Templates: time 0.01024/1.204, allocations: 4.347 MB / 1.397 GB, free: 15.66 MB / 1.107 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.73425857629627]