Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002396/0.002396, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002688/0.002688, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.646/1.646, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.102/3.102, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.298e-05, allocations: 7.297 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.2271/0.2271, allocations: 144 MB / 0.9515 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.006918/0.2341, allocations: 4.836 MB / 0.9562 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.2344, allocations: 11.88 kB / 0.9562 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005946/0.235, allocations: 174.8 kB / 0.9564 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000393/0.2354, allocations: 87.33 kB / 0.9564 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.2358, allocations: 63.92 kB / 0.9565 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004567/0.2363, allocations: 318.6 kB / 0.9568 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002713/0.2365, allocations: 96.3 kB / 0.9569 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.2368, allocations: 159.5 kB / 0.957 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.2371, allocations: 127.7 kB / 0.9572 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.2371, allocations: 16 kB / 0.9572 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 4.674e-05/0.2372, allocations: 16 kB / 0.9572 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.2373, allocations: 71.78 kB / 0.9573 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.2374, allocations: 71.78 kB / 0.9573 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.2377, allocations: 227.1 kB / 0.9576 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2377, allocations: 0 / 0.9576 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2377, allocations: 0 / 0.9576 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.2377, allocations: 0 / 0.9576 GB, free: 11.37 MB / 0.9167 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.0006731/0.2384, allocations: 0.5232 MB / 0.9581 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2384, allocations: 12.03 kB / 0.9581 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.29e-05/0.2385, allocations: 48.75 kB / 0.9581 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.2389, allocations: 220.1 kB / 0.9583 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.2389, allocations: 20.81 kB / 0.9584 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.239, allocations: 20.38 kB / 0.9584 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/0.2395, allocations: 331.5 kB / 0.9587 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.2395, allocations: 192 / 0.9587 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.2395, allocations: 16.12 kB / 0.9587 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.2396, allocations: 11.98 kB / 0.9587 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.2398, allocations: 103.6 kB / 0.9588 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.2421, allocations: 2.682 MB / 0.9614 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.2423, allocations: 265.4 kB / 0.9617 GB, free: 6.879 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.2424, allocations: 126.9 kB / 0.9618 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.57e-05/0.2424, allocations: 119.2 kB / 0.9619 GB, free: 6.633 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.2425, allocations: 160.6 kB / 0.9621 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.2426, allocations: 0 / 0.9621 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 9.643e-05/0.2426, allocations: 33.66 kB / 0.9621 GB, free: 6.426 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.2428, allocations: 170.6 kB / 0.9623 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.2431, allocations: 251.6 kB / 0.9625 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.2431, allocations: 25.7 kB / 0.9625 GB, free: 5.953 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.2433, allocations: 234.7 kB / 0.9628 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-06/0.2433, allocations: 11.92 kB / 0.9628 GB, free: 5.703 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.2433, allocations: 27.33 kB / 0.9628 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002834/0.2436, allocations: 0.504 MB / 0.9633 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.2436, allocations: 8 kB / 0.9633 GB, free: 5.145 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.697e-05/0.2437, allocations: 81.47 kB / 0.9634 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.2442, allocations: 97.38 kB / 0.9635 GB, free: 4.902 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2442, allocations: 0 / 0.9635 GB, free: 4.902 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002031/0.2444, allocations: 89.45 kB / 0.9635 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2444, allocations: 4 kB / 0.9636 GB, free: 4.805 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.2444, allocations: 4.25 kB / 0.9636 GB, free: 4.801 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.2444, allocations: 4 kB / 0.9636 GB, free: 4.797 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/0.2445, allocations: 15.98 kB / 0.9636 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.2445, allocations: 4 kB / 0.9636 GB, free: 4.777 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.2446, allocations: 11.89 kB / 0.9636 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.2446, allocations: 8 kB / 0.9636 GB, free: 4.758 MB / 0.9167 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.0002191/0.2448, allocations: 295.6 kB / 0.9639 GB, free: 4.457 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.2449, allocations: 156.8 kB / 0.964 GB, free: 4.297 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.245, allocations: 157.3 kB / 0.9642 GB, free: 4.137 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001609/0.2452, allocations: 276 kB / 0.9644 GB, free: 3.859 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001496/0.2453, allocations: 272.1 kB / 0.9647 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001484/0.2455, allocations: 272 kB / 0.965 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.246, allocations: 0.574 MB / 0.9655 GB, free: 2.691 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.952e-05/0.2461, allocations: 152.8 kB / 0.9657 GB, free: 2.535 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-05/0.2461, allocations: 144.9 kB / 0.9658 GB, free: 2.387 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/0.2463, allocations: 268.1 kB / 0.9661 GB, free: 2.117 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/0.2464, allocations: 276 kB / 0.9663 GB, free: 1.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001497/0.2466, allocations: 264.3 kB / 0.9666 GB, free: 1.574 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001474/0.2467, allocations: 272 kB / 0.9668 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.247, allocations: 455.9 kB / 0.9673 GB, free: 0.8281 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.2471, allocations: 164.8 kB / 0.9674 GB, free: 0.6602 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.2473, allocations: 268.1 kB / 0.9677 GB, free: 400 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.2474, allocations: 148.8 kB / 0.9678 GB, free: 244 kB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.2476, allocations: 268.1 kB / 0.9681 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-05/0.2477, allocations: 148.9 kB / 0.9682 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001641/0.2478, allocations: 179.4 kB / 0.9684 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2478, allocations: 3.938 kB / 0.9684 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003011/0.2481, allocations: 35.84 kB / 0.9684 GB, free: 15.6 MB / 0.9323 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.0001902/0.2483, allocations: 218.4 kB / 0.9686 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.2484, allocations: 35.92 kB / 0.9687 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2484, allocations: 4 kB / 0.9687 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-06/0.2484, allocations: 4 kB / 0.9687 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.249, allocations: 0.7101 MB / 0.9694 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006923/0.2497, allocations: 426.8 kB / 0.9698 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.2499, allocations: 132.8 kB / 0.9699 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 5.084e-05/0.2499, allocations: 8.484 kB / 0.9699 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.25, allocations: 12.5 kB / 0.9699 GB, free: 14 MB / 0.9323 GB Notification: Performance of SimCode: time 6.01e-07/0.25, allocations: 0 / 0.9699 GB, free: 14 MB / 0.9323 GB Notification: Performance of Templates: time 0.003364/0.2533, allocations: 354.9 kB / 0.9703 GB, free: 13.65 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.794338947045617]