Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.001945/0.001945, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002086/0.002086, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.632/1.632, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.444/3.444, allocations: 429.4 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8775 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.898e-05/4.108e-05, allocations: 6.312 kB / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.2329/0.2329, allocations: 144 MB / 1.018 GB, free: 6.16 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006709/0.2396, allocations: 4.824 MB / 1.023 GB, free: 1.324 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/0.24, allocations: 15.94 kB / 1.023 GB, free: 1.309 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006697/0.2407, allocations: 170.8 kB / 1.023 GB, free: 1.141 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.2411, allocations: 91.38 kB / 1.023 GB, free: 1.051 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.2413, allocations: 67.84 kB / 1.023 GB, free: 0.9844 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0005006/0.2418, allocations: 318.6 kB / 1.023 GB, free: 0.6719 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006652/0.2425, allocations: 100.2 kB / 1.024 GB, free: 0.5664 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002978/0.2428, allocations: 159.6 kB / 1.024 GB, free: 420 kB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.243, allocations: 131.7 kB / 1.024 GB, free: 288 kB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.243, allocations: 16 kB / 1.024 GB, free: 272 kB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 3.67e-05/0.2431, allocations: 16 kB / 1.024 GB, free: 256 kB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.2432, allocations: 67.75 kB / 1.024 GB, free: 188 kB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.2433, allocations: 63.84 kB / 1.024 GB, free: 124 kB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.2436, allocations: 243 kB / 1.024 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2436, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2437, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.2437, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007085/0.2444, allocations: 0.531 MB / 1.025 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2444, allocations: 8.031 kB / 1.025 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.539e-05/0.2445, allocations: 40.8 kB / 1.025 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.2449, allocations: 223.2 kB / 1.025 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.2449, allocations: 16.88 kB / 1.025 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.2449, allocations: 16.38 kB / 1.025 GB, free: 15 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.2454, allocations: 339.5 kB / 1.025 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.2454, allocations: 8.125 kB / 1.025 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.2455, allocations: 12.12 kB / 1.025 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2455, allocations: 8 kB / 1.025 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.2457, allocations: 91.78 kB / 1.025 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.2478, allocations: 2.67 MB / 1.028 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.248, allocations: 265.4 kB / 1.028 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/0.2481, allocations: 126.9 kB / 1.028 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.846e-05/0.2482, allocations: 123.2 kB / 1.029 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.2483, allocations: 156.6 kB / 1.029 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2483, allocations: 0 / 1.029 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 0.0001001/0.2484, allocations: 45.56 kB / 1.029 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.2485, allocations: 174.6 kB / 1.029 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.2488, allocations: 249.8 kB / 1.029 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2488, allocations: 25.7 kB / 1.029 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.249, allocations: 238.6 kB / 1.029 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.249, allocations: 0 / 1.029 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.249, allocations: 31.38 kB / 1.029 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003066/0.2493, allocations: 0.4961 MB / 1.03 GB, free: 9.695 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.2494, allocations: 15.98 kB / 1.03 GB, free: 9.68 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.2495, allocations: 73.5 kB / 1.03 GB, free: 9.574 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.2496, allocations: 93.38 kB / 1.03 GB, free: 9.449 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2496, allocations: 0 / 1.03 GB, free: 9.449 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002224/0.2498, allocations: 101.4 kB / 1.03 GB, free: 9.344 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.2498, allocations: 6.344 kB / 1.03 GB, free: 9.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.2499, allocations: 4 kB / 1.03 GB, free: 9.336 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.2499, allocations: 0 / 1.03 GB, free: 9.336 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.25, allocations: 15.94 kB / 1.03 GB, free: 9.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.25, allocations: 7.984 kB / 1.03 GB, free: 9.312 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.25, allocations: 11.94 kB / 1.03 GB, free: 9.301 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2501, allocations: 8.188 kB / 1.03 GB, free: 9.293 MB / 0.9948 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 (8): * Single equations (assignments): 8 * 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.0004913/0.2505, allocations: 295.7 kB / 1.031 GB, free: 8.992 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.2507, allocations: 160.7 kB / 1.031 GB, free: 8.828 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.2508, allocations: 161.4 kB / 1.031 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000151/0.2509, allocations: 272.1 kB / 1.031 GB, free: 8.395 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001715/0.2511, allocations: 268 kB / 1.031 GB, free: 8.125 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001453/0.2512, allocations: 264.1 kB / 1.032 GB, free: 7.859 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.2517, allocations: 0.5857 MB / 1.032 GB, free: 7.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.351e-05/0.2518, allocations: 152.9 kB / 1.032 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.711e-05/0.2519, allocations: 144.9 kB / 1.032 GB, free: 6.926 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.2521, allocations: 272 kB / 1.033 GB, free: 6.652 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/0.2522, allocations: 268.1 kB / 1.033 GB, free: 6.383 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001606/0.2524, allocations: 268.2 kB / 1.033 GB, free: 6.113 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001597/0.2526, allocations: 272.1 kB / 1.033 GB, free: 5.84 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.2529, allocations: 459.8 kB / 1.034 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.253, allocations: 152.8 kB / 1.034 GB, free: 5.207 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.2532, allocations: 268 kB / 1.034 GB, free: 4.938 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.2533, allocations: 148.9 kB / 1.034 GB, free: 4.785 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.2535, allocations: 272 kB / 1.035 GB, free: 4.512 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.654e-05/0.2536, allocations: 148.9 kB / 1.035 GB, free: 4.359 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001657/0.2537, allocations: 169.5 kB / 1.035 GB, free: 4.195 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.2537, allocations: 4 kB / 1.035 GB, free: 4.191 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003542/0.2541, allocations: 39.84 kB / 1.035 GB, free: 4.152 MB / 0.9948 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.0002155/0.2543, allocations: 222.4 kB / 1.035 GB, free: 3.926 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.2544, allocations: 27.62 kB / 1.035 GB, free: 3.895 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2544, allocations: 0 / 1.035 GB, free: 3.895 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.2544, allocations: 7.938 kB / 1.035 GB, free: 3.887 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.2551, allocations: 0.7062 MB / 1.036 GB, free: 3.176 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000724/0.2558, allocations: 435.4 kB / 1.036 GB, free: 2.719 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.256, allocations: 129.4 kB / 1.037 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 5.43e-05/0.2561, allocations: 12.48 kB / 1.037 GB, free: 2.559 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.2561, allocations: 12.5 kB / 1.037 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of SimCode: time 7.41e-07/0.2561, allocations: 0 / 1.037 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of Templates: time 0.003385/0.2595, allocations: 355.9 kB / 1.037 GB, free: 2.203 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.154196982970461]