Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001564/0.001564, allocations: 118.9 kB / 17.13 MB, free: 6.027 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.001938/0.001938, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.542/1.542, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 3.003/3.003, allocations: 0.49 GB / 0.7922 GB, free: 1.355 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.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_12_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_12_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.002027/0.002027, allocations: 63.91 kB / 1.15 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23/1.232, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2409/1.473, allocations: 173.9 MB / 1.492 GB, free: 8.457 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009727/1.483, allocations: 6.053 MB / 1.498 GB, free: 3.562 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006258/1.484, allocations: 10.72 kB / 1.498 GB, free: 3.559 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009251/1.485, allocations: 189.9 kB / 1.498 GB, free: 3.395 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0005158/1.485, allocations: 95.34 kB / 1.498 GB, free: 3.316 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/1.487, allocations: 0.5329 MB / 1.498 GB, free: 2.914 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008524/1.488, allocations: 412.5 kB / 1.499 GB, free: 2.676 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/1.488, allocations: 100.3 kB / 1.499 GB, free: 2.609 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/1.489, allocations: 197.8 kB / 1.499 GB, free: 2.496 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/1.489, allocations: 155.2 kB / 1.499 GB, free: 2.402 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/1.489, allocations: 17.5 kB / 1.499 GB, free: 2.402 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/1.49, allocations: 0.4965 MB / 1.5 GB, free: 2.109 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/1.491, allocations: 68.75 kB / 1.5 GB, free: 2.062 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/1.491, allocations: 101.7 kB / 1.5 GB, free: 1.996 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0008341/1.492, allocations: 477.9 kB / 1.5 GB, free: 1.707 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.492, allocations: 1.062 kB / 1.5 GB, free: 1.707 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.024e-06/1.492, allocations: 0 / 1.5 GB, free: 1.707 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.875e-06/1.492, allocations: 0 / 1.5 GB, free: 1.707 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007902/1.492, allocations: 0.5323 MB / 1.501 GB, free: 1.199 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.492, allocations: 13.05 kB / 1.501 GB, free: 1.195 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003326/1.493, allocations: 41.69 kB / 1.501 GB, free: 1.18 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/1.493, allocations: 266.2 kB / 1.501 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/1.493, allocations: 136.3 kB / 1.501 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/1.493, allocations: 17.66 kB / 1.501 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/1.494, allocations: 302.9 kB / 1.502 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/1.494, allocations: 9.219 kB / 1.502 GB, free: 0.5195 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/1.494, allocations: 6.875 kB / 1.502 GB, free: 0.5156 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/1.494, allocations: 6.719 kB / 1.502 GB, free: 0.5156 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/1.494, allocations: 158.5 kB / 1.502 GB, free: 452 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/1.496, allocations: 1.588 MB / 1.503 GB, free: 14.91 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/1.496, allocations: 175.1 kB / 1.504 GB, free: 14.73 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.43e-05/1.496, allocations: 84.12 kB / 1.504 GB, free: 14.64 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/1.496, allocations: 75.28 kB / 1.504 GB, free: 14.57 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/1.496, allocations: 111.2 kB / 1.504 GB, free: 14.45 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/1.496, allocations: 0 / 1.504 GB, free: 14.45 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001077/1.496, allocations: 50.56 kB / 1.504 GB, free: 14.41 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/1.496, allocations: 127.7 kB / 1.504 GB, free: 14.27 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/1.497, allocations: 314.7 kB / 1.504 GB, free: 14.06 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/1.497, allocations: 25.7 kB / 1.504 GB, free: 14.03 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/1.497, allocations: 195.3 kB / 1.504 GB, free: 13.85 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.569e-06/1.497, allocations: 1.188 kB / 1.504 GB, free: 13.85 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.67e-05/1.497, allocations: 48.97 kB / 1.505 GB, free: 13.81 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.497, allocations: 326.9 kB / 1.505 GB, free: 13.48 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.842e-05/1.497, allocations: 40.28 kB / 1.505 GB, free: 13.46 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/1.497, allocations: 158.8 kB / 1.505 GB, free: 13.28 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/1.498, allocations: 201.6 kB / 1.505 GB, free: 13.06 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/1.498, allocations: 5.188 kB / 1.505 GB, free: 13.05 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004484/1.498, allocations: 209.1 kB / 1.505 GB, free: 12.94 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.498, allocations: 14.81 kB / 1.505 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.498, allocations: 4.594 kB / 1.505 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.498, allocations: 5.719 kB / 1.505 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/1.498, allocations: 42.22 kB / 1.505 GB, free: 12.92 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.498, allocations: 9.656 kB / 1.505 GB, free: 12.91 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/1.499, allocations: 34.08 kB / 1.506 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/1.499, allocations: 10.12 kB / 1.506 GB, free: 12.89 MB / 1.186 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.0001753/1.499, allocations: 219 kB / 1.506 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.102e-05/1.499, allocations: 129.6 kB / 1.506 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.222e-05/1.499, allocations: 125.8 kB / 1.506 GB, free: 12.42 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.397e-05/1.499, allocations: 180.2 kB / 1.506 GB, free: 12.24 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.521e-05/1.499, allocations: 180.3 kB / 1.506 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-05/1.499, allocations: 184.3 kB / 1.507 GB, free: 11.87 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/1.5, allocations: 489.1 kB / 1.507 GB, free: 11.33 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.833e-05/1.5, allocations: 104.9 kB / 1.507 GB, free: 11.22 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/1.5, allocations: 101 kB / 1.507 GB, free: 11.12 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.026e-05/1.5, allocations: 188.1 kB / 1.507 GB, free: 10.93 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.659e-05/1.5, allocations: 176.3 kB / 1.508 GB, free: 10.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.29e-05/1.5, allocations: 176.3 kB / 1.508 GB, free: 10.57 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-05/1.5, allocations: 192.1 kB / 1.508 GB, free: 10.37 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/1.5, allocations: 327.6 kB / 1.508 GB, free: 10.03 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/1.5, allocations: 202 kB / 1.508 GB, free: 9.805 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/1.5, allocations: 188.2 kB / 1.509 GB, free: 9.613 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/1.501, allocations: 112.9 kB / 1.509 GB, free: 9.496 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/1.501, allocations: 180.3 kB / 1.509 GB, free: 9.312 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/1.501, allocations: 104.9 kB / 1.509 GB, free: 9.203 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002642/1.501, allocations: 217.9 kB / 1.509 GB, free: 8.992 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/1.501, allocations: 0 / 1.509 GB, free: 8.992 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004163/1.501, allocations: 55.89 kB / 1.509 GB, free: 8.938 MB / 1.186 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.0003138/1.502, allocations: 210.4 kB / 1.509 GB, free: 8.719 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00022/1.502, allocations: 80.91 kB / 1.509 GB, free: 8.641 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.502, allocations: 4.125 kB / 1.509 GB, free: 8.637 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/1.502, allocations: 0 / 1.509 GB, free: 8.637 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/1.502, allocations: 482.3 kB / 1.51 GB, free: 8.16 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006543/1.503, allocations: 426.2 kB / 1.51 GB, free: 7.715 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/1.504, allocations: 0.7359 MB / 1.511 GB, free: 6.953 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/1.504, allocations: 19.44 kB / 1.511 GB, free: 6.934 MB / 1.186 GB Notification: Performance of SimCode: time 4.61e-07/1.504, allocations: 4 kB / 1.511 GB, free: 6.93 MB / 1.186 GB Notification: Performance of Templates: time 0.005243/1.509, allocations: 2.822 MB / 1.514 GB, free: 4.105 MB / 1.186 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.554049026992288]