Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.002246/0.002246, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.003007/0.003007, allocations: 219 kB / 22.26 MB, free: 5.125 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.67/1.67, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.92/2.92, allocations: 476.7 MB / 0.7706 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [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.002197/0.002197, allocations: 67.02 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.4819, allocations: 169.9 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2365/0.7184, allocations: 174.1 MB / 1.454 GB, free: 12.46 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008515/0.7269, allocations: 6.107 MB / 1.46 GB, free: 6.336 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000421/0.7273, allocations: 7.938 kB / 1.46 GB, free: 6.328 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008134/0.7281, allocations: 198.7 kB / 1.46 GB, free: 6.133 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.7286, allocations: 91.42 kB / 1.46 GB, free: 6.043 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.7302, allocations: 0.5488 MB / 1.461 GB, free: 5.492 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0006293/0.7308, allocations: 410.7 kB / 1.461 GB, free: 5.09 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.7311, allocations: 100.2 kB / 1.461 GB, free: 4.984 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.7315, allocations: 191.3 kB / 1.461 GB, free: 4.797 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.7317, allocations: 155.3 kB / 1.461 GB, free: 4.645 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.7318, allocations: 16 kB / 1.461 GB, free: 4.629 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009903/0.7328, allocations: 0.5143 MB / 1.462 GB, free: 4.113 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.7329, allocations: 63.77 kB / 1.462 GB, free: 4.051 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.733, allocations: 111.5 kB / 1.462 GB, free: 3.941 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0007558/0.7338, allocations: 474.3 kB / 1.463 GB, free: 3.477 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.7338, allocations: 0 / 1.463 GB, free: 3.477 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7338, allocations: 0 / 1.463 GB, free: 3.477 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.7338, allocations: 0 / 1.463 GB, free: 3.477 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007377/0.7345, allocations: 461.3 kB / 1.463 GB, free: 2.996 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.7346, allocations: 11.97 kB / 1.463 GB, free: 2.984 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/0.7349, allocations: 43.84 kB / 1.463 GB, free: 2.941 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.7353, allocations: 207 kB / 1.463 GB, free: 2.715 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002472/0.7356, allocations: 238.1 kB / 1.463 GB, free: 2.434 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.7356, allocations: 23.94 kB / 1.464 GB, free: 2.41 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.7361, allocations: 293.9 kB / 1.464 GB, free: 2.086 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.7361, allocations: 7.938 kB / 1.464 GB, free: 2.078 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.7361, allocations: 8 kB / 1.464 GB, free: 2.07 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.7362, allocations: 8 kB / 1.464 GB, free: 2.062 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.7365, allocations: 164.6 kB / 1.464 GB, free: 1.902 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.7381, allocations: 1.537 MB / 1.465 GB, free: 292 kB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.7382, allocations: 165.1 kB / 1.466 GB, free: 116 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.802e-05/0.7382, allocations: 96.11 kB / 1.466 GB, free: 16 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.981e-05/0.7383, allocations: 75.28 kB / 1.466 GB, free: 15.94 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/0.7384, allocations: 109.8 kB / 1.466 GB, free: 15.82 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.7384, allocations: 0 / 1.466 GB, free: 15.82 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001098/0.7385, allocations: 57.48 kB / 1.466 GB, free: 15.76 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.7385, allocations: 126.7 kB / 1.466 GB, free: 15.62 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.7389, allocations: 305.8 kB / 1.466 GB, free: 15.32 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.739, allocations: 33.7 kB / 1.466 GB, free: 15.28 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.7391, allocations: 191.6 kB / 1.467 GB, free: 15.09 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 1.069e-05/0.7391, allocations: 11.98 kB / 1.467 GB, free: 15.08 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.7392, allocations: 37.67 kB / 1.467 GB, free: 15.04 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.7394, allocations: 334.8 kB / 1.467 GB, free: 14.7 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.216e-05/0.7395, allocations: 39.91 kB / 1.467 GB, free: 14.66 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.7397, allocations: 153.2 kB / 1.467 GB, free: 14.45 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.7399, allocations: 196.9 kB / 1.467 GB, free: 14.2 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7399, allocations: 0 / 1.467 GB, free: 14.2 MB / 1.17 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004516/0.7404, allocations: 225.2 kB / 1.468 GB, free: 13.97 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.7404, allocations: 11.94 kB / 1.468 GB, free: 13.96 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.7404, allocations: 4 kB / 1.468 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.7405, allocations: 8 kB / 1.468 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.7406, allocations: 35.92 kB / 1.468 GB, free: 13.91 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.7407, allocations: 15.92 kB / 1.468 GB, free: 13.89 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.7408, allocations: 35.67 kB / 1.468 GB, free: 13.86 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.7409, allocations: 12.41 kB / 1.468 GB, free: 13.85 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001923/0.7411, allocations: 219.4 kB / 1.468 GB, free: 13.62 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.7412, allocations: 124.8 kB / 1.468 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.7413, allocations: 125.8 kB / 1.468 GB, free: 13.36 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.47e-05/0.7414, allocations: 184.2 kB / 1.468 GB, free: 13.18 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.348e-05/0.7414, allocations: 180.3 kB / 1.468 GB, free: 12.99 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.341e-05/0.7415, allocations: 184.3 kB / 1.469 GB, free: 12.8 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.7419, allocations: 460.2 kB / 1.469 GB, free: 12.3 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.083e-05/0.742, allocations: 104.9 kB / 1.469 GB, free: 12.2 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.62e-05/0.742, allocations: 109 kB / 1.469 GB, free: 12.08 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-05/0.7421, allocations: 184.2 kB / 1.469 GB, free: 11.89 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.7422, allocations: 184.2 kB / 1.47 GB, free: 11.71 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.892e-05/0.7423, allocations: 176.3 kB / 1.47 GB, free: 11.53 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.978e-05/0.7424, allocations: 184.2 kB / 1.47 GB, free: 11.34 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.7426, allocations: 319.7 kB / 1.47 GB, free: 11 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.7427, allocations: 132.8 kB / 1.47 GB, free: 10.87 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.7429, allocations: 184.2 kB / 1.471 GB, free: 10.68 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.743, allocations: 104.9 kB / 1.471 GB, free: 10.57 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.869e-05/0.7431, allocations: 176.3 kB / 1.471 GB, free: 10.39 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/0.7432, allocations: 109 kB / 1.471 GB, free: 10.28 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002746/0.7434, allocations: 221.2 kB / 1.471 GB, free: 10.06 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7434, allocations: 3.938 kB / 1.471 GB, free: 10.05 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004162/0.7439, allocations: 55.89 kB / 1.471 GB, free: 10 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0003259/0.7442, allocations: 202.3 kB / 1.471 GB, free: 9.789 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.7444, allocations: 83.77 kB / 1.471 GB, free: 9.707 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7444, allocations: 0 / 1.471 GB, free: 9.707 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.7444, allocations: 0 / 1.471 GB, free: 9.707 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/0.745, allocations: 485.4 kB / 1.472 GB, free: 9.23 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/0.7457, allocations: 404.9 kB / 1.472 GB, free: 8.809 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.7461, allocations: 0.732 MB / 1.473 GB, free: 8.051 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.7462, allocations: 37.94 kB / 1.473 GB, free: 8.016 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.7463, allocations: 23.36 kB / 1.473 GB, free: 7.992 MB / 1.17 GB Notification: Performance of SimCode: time 3.1e-07/0.7463, allocations: 0 / 1.473 GB, free: 7.992 MB / 1.17 GB Notification: Performance of Templates: time 0.00606/0.7523, allocations: 1.949 MB / 1.475 GB, free: 6.055 MB / 1.17 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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: 10.767859123181552]