Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.001355/0.001355, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.001488/0.001488, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.436/1.436, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.814/2.814, allocations: 0.49 GB / 0.7923 GB, free: 1.266 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [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.002077/0.002077, allocations: 67.89 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.043, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2434/1.287, allocations: 164.8 MB / 1.483 GB, free: 15.7 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005873/1.292, allocations: 4.584 MB / 1.487 GB, free: 12 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003653/1.293, allocations: 18.69 kB / 1.487 GB, free: 11.99 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004473/1.293, allocations: 125.9 kB / 1.487 GB, free: 11.88 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0007937/1.294, allocations: 341.8 kB / 1.488 GB, free: 11.62 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/1.295, allocations: 286.2 kB / 1.488 GB, free: 11.41 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006658/1.295, allocations: 0.5577 MB / 1.489 GB, free: 11.09 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000328/1.296, allocations: 177.3 kB / 1.489 GB, free: 10.98 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/1.297, allocations: 0.6849 MB / 1.489 GB, free: 10.53 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/1.297, allocations: 192.1 kB / 1.49 GB, free: 10.42 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/1.297, allocations: 19.84 kB / 1.49 GB, free: 10.42 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/1.298, allocations: 85.05 kB / 1.49 GB, free: 10.38 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/1.298, allocations: 91.56 kB / 1.49 GB, free: 10.32 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/1.298, allocations: 115.5 kB / 1.49 GB, free: 10.25 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/1.298, allocations: 299.3 kB / 1.49 GB, free: 10.06 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/1.298, allocations: 0 / 1.49 GB, free: 10.06 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.172e-06/1.298, allocations: 1.188 kB / 1.49 GB, free: 10.06 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.683e-06/1.298, allocations: 0 / 1.49 GB, free: 10.06 MB / 1.17 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.0008756/1.299, allocations: 0.5435 MB / 1.491 GB, free: 9.551 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/1.299, allocations: 14.05 kB / 1.491 GB, free: 9.547 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/1.299, allocations: 37.25 kB / 1.491 GB, free: 9.523 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/1.3, allocations: 289.2 kB / 1.491 GB, free: 9.246 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/1.3, allocations: 12.97 kB / 1.491 GB, free: 9.242 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/1.3, allocations: 19.5 kB / 1.491 GB, free: 9.234 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/1.3, allocations: 261.9 kB / 1.491 GB, free: 9.023 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.3, allocations: 5.156 kB / 1.491 GB, free: 9.02 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/1.3, allocations: 10.09 kB / 1.491 GB, free: 9.012 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/1.3, allocations: 9.688 kB / 1.491 GB, free: 9.008 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/1.301, allocations: 151.8 kB / 1.492 GB, free: 8.934 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/1.302, allocations: 1.366 MB / 1.493 GB, free: 7.621 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/1.302, allocations: 174.2 kB / 1.493 GB, free: 7.438 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/1.303, allocations: 93.89 kB / 1.493 GB, free: 7.359 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003825/1.303, allocations: 122.8 kB / 1.493 GB, free: 7.242 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/1.303, allocations: 42.12 kB / 1.493 GB, free: 7.195 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/1.303, allocations: 0 / 1.493 GB, free: 7.195 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0006383/1.304, allocations: 211.8 kB / 1.493 GB, free: 7.074 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/1.304, allocations: 185.9 kB / 1.494 GB, free: 6.852 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/1.304, allocations: 288.9 kB / 1.494 GB, free: 6.664 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/1.304, allocations: 27.05 kB / 1.494 GB, free: 6.633 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/1.304, allocations: 148.1 kB / 1.494 GB, free: 6.496 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/1.304, allocations: 41 kB / 1.494 GB, free: 6.461 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/1.304, allocations: 34.7 kB / 1.494 GB, free: 6.434 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.304, allocations: 336.7 kB / 1.495 GB, free: 6.102 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/1.305, allocations: 49 kB / 1.495 GB, free: 6.078 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/1.305, allocations: 117.7 kB / 1.495 GB, free: 5.973 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/1.305, allocations: 160.8 kB / 1.495 GB, free: 5.848 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.305, allocations: 4 kB / 1.495 GB, free: 5.844 MB / 1.17 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003899/1.305, allocations: 190.9 kB / 1.495 GB, free: 5.734 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.305, allocations: 13.91 kB / 1.495 GB, free: 5.727 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.305, allocations: 1.781 kB / 1.495 GB, free: 5.727 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.305, allocations: 7.25 kB / 1.495 GB, free: 5.723 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/1.306, allocations: 27.27 kB / 1.495 GB, free: 5.719 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/1.306, allocations: 6.594 kB / 1.495 GB, free: 5.715 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/1.306, allocations: 26.86 kB / 1.495 GB, free: 5.699 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/1.306, allocations: 10.81 kB / 1.495 GB, free: 5.695 MB / 1.17 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.0001526/1.306, allocations: 143.1 kB / 1.495 GB, free: 5.562 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/1.306, allocations: 27.98 kB / 1.495 GB, free: 5.547 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003511/1.306, allocations: 134.2 kB / 1.495 GB, free: 5.453 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/1.306, allocations: 2.406 kB / 1.495 GB, free: 5.453 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.306, allocations: 2.438 kB / 1.495 GB, free: 5.453 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.306, allocations: 1.25 kB / 1.495 GB, free: 5.453 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009163/1.307, allocations: 0.7793 MB / 1.496 GB, free: 4.684 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.307, allocations: 1.062 kB / 1.496 GB, free: 4.684 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/1.308, allocations: 25.8 kB / 1.496 GB, free: 4.676 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/1.308, allocations: 2.625 kB / 1.496 GB, free: 4.676 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/1.308, allocations: 2.469 kB / 1.496 GB, free: 4.676 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.308, allocations: 1.469 kB / 1.496 GB, free: 4.676 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.308, allocations: 2.781 kB / 1.496 GB, free: 4.676 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/1.308, allocations: 340.8 kB / 1.497 GB, free: 4.406 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/1.308, allocations: 111.5 kB / 1.497 GB, free: 4.289 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/1.308, allocations: 10.2 kB / 1.497 GB, free: 4.281 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/1.308, allocations: 9 kB / 1.497 GB, free: 4.277 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/1.308, allocations: 17.11 kB / 1.497 GB, free: 4.266 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/1.308, allocations: 4.312 kB / 1.497 GB, free: 4.266 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002139/1.309, allocations: 208.8 kB / 1.497 GB, free: 4.125 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.309, allocations: 0 / 1.497 GB, free: 4.125 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003481/1.309, allocations: 58.73 kB / 1.497 GB, free: 4.113 MB / 1.17 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.0002303/1.309, allocations: 132 kB / 1.497 GB, free: 4.004 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003712/1.31, allocations: 125.3 kB / 1.497 GB, free: 3.945 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.31, allocations: 5.094 kB / 1.497 GB, free: 3.941 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/1.31, allocations: 59.53 kB / 1.497 GB, free: 3.914 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007457/1.311, allocations: 121.5 kB / 1.497 GB, free: 3.855 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008733/1.311, allocations: 0.5083 MB / 1.498 GB, free: 3.457 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/1.312, allocations: 0.7573 MB / 1.499 GB, free: 2.723 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/1.312, allocations: 22.78 kB / 1.499 GB, free: 2.715 MB / 1.17 GB Notification: Performance of SimCode: time 2.91e-07/1.312, allocations: 0 / 1.499 GB, free: 2.715 MB / 1.17 GB Notification: Performance of Templates: time 0.006665/1.319, allocations: 3.817 MB / 1.502 GB, free: 15.93 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.460973085995647]