Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.001699/0.001699, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00224/0.00224, allocations: 221.1 kB / 23 MB, free: 4.914 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.832 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.241/3.241, allocations: 0.4892 GB / 0.7951 GB, free: 35.67 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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [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.002067/0.002067, allocations: 70.17 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3882, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2111/0.5993, allocations: 153.7 MB / 1.476 GB, free: 7.578 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01147/0.6107, allocations: 8.651 MB / 1.485 GB, free: 14.9 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.6111, allocations: 15.88 kB / 1.485 GB, free: 14.88 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.6119, allocations: 190.7 kB / 1.485 GB, free: 14.7 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.6123, allocations: 103.3 kB / 1.485 GB, free: 14.59 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.6126, allocations: 63.92 kB / 1.485 GB, free: 14.53 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0005359/0.6131, allocations: 326.6 kB / 1.486 GB, free: 14.21 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.6135, allocations: 137.2 kB / 1.486 GB, free: 14.07 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004748/0.6139, allocations: 167.4 kB / 1.486 GB, free: 13.91 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.6141, allocations: 119.3 kB / 1.486 GB, free: 13.79 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.6142, allocations: 28 kB / 1.486 GB, free: 13.77 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 5.029e-05/0.6142, allocations: 20 kB / 1.486 GB, free: 13.75 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.6143, allocations: 75.75 kB / 1.486 GB, free: 13.67 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.6145, allocations: 99.55 kB / 1.486 GB, free: 13.57 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.6149, allocations: 294.6 kB / 1.486 GB, free: 13.29 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.6149, allocations: 4 kB / 1.486 GB, free: 13.28 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6149, allocations: 0 / 1.486 GB, free: 13.28 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.6149, allocations: 0 / 1.486 GB, free: 13.28 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000618/0.6155, allocations: 449.6 kB / 1.487 GB, free: 12.81 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.6155, allocations: 12.02 kB / 1.487 GB, free: 12.8 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.414e-05/0.6156, allocations: 39.75 kB / 1.487 GB, free: 12.76 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.6161, allocations: 214.6 kB / 1.487 GB, free: 12.53 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.6161, allocations: 16.66 kB / 1.487 GB, free: 12.51 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.6161, allocations: 27.94 kB / 1.487 GB, free: 12.48 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.6166, allocations: 325.1 kB / 1.487 GB, free: 12.12 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.6167, allocations: 0 / 1.487 GB, free: 12.12 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.6167, allocations: 20 kB / 1.488 GB, free: 12.1 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.6167, allocations: 8 kB / 1.488 GB, free: 12.09 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.6169, allocations: 147.7 kB / 1.488 GB, free: 11.95 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.6183, allocations: 1.621 MB / 1.489 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.6184, allocations: 181 kB / 1.489 GB, free: 10.06 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.6185, allocations: 80.14 kB / 1.489 GB, free: 9.98 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.6185, allocations: 75.28 kB / 1.49 GB, free: 9.906 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.023e-05/0.6186, allocations: 109.8 kB / 1.49 GB, free: 9.789 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.6186, allocations: 0 / 1.49 GB, free: 9.789 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 8.735e-05/0.6187, allocations: 45.59 kB / 1.49 GB, free: 9.738 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/0.6187, allocations: 126.7 kB / 1.49 GB, free: 9.602 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.6189, allocations: 167.2 kB / 1.49 GB, free: 9.422 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.619, allocations: 25.7 kB / 1.49 GB, free: 9.391 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.6191, allocations: 192 kB / 1.49 GB, free: 9.199 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.6191, allocations: 0 / 1.49 GB, free: 9.199 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.6191, allocations: 25.7 kB / 1.49 GB, free: 9.168 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6193, allocations: 314.8 kB / 1.491 GB, free: 8.852 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.6193, allocations: 7.984 kB / 1.491 GB, free: 8.844 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-05/0.6193, allocations: 36.3 kB / 1.491 GB, free: 8.793 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.443e-05/0.6194, allocations: 44.23 kB / 1.491 GB, free: 8.734 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.6194, allocations: 128 / 1.491 GB, free: 8.734 MB / 1.186 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001574/0.6196, allocations: 77.47 kB / 1.491 GB, free: 8.652 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.6196, allocations: 8.047 kB / 1.491 GB, free: 8.645 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.6196, allocations: 7.938 kB / 1.491 GB, free: 8.637 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.6196, allocations: 4.156 kB / 1.491 GB, free: 8.633 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.95e-05/0.6197, allocations: 15.98 kB / 1.491 GB, free: 8.617 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6197, allocations: 0 / 1.491 GB, free: 8.617 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.6197, allocations: 4 kB / 1.491 GB, free: 8.613 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.6197, allocations: 0 / 1.491 GB, free: 8.613 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001646/0.6199, allocations: 217.6 kB / 1.491 GB, free: 8.391 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.991e-05/0.62, allocations: 112.9 kB / 1.491 GB, free: 8.273 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.274e-05/0.62, allocations: 121.4 kB / 1.491 GB, free: 8.145 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.04e-05/0.6201, allocations: 188.3 kB / 1.491 GB, free: 7.953 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-05/0.6202, allocations: 176.3 kB / 1.491 GB, free: 7.773 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.284e-05/0.6203, allocations: 184.2 kB / 1.492 GB, free: 7.586 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.6206, allocations: 424.8 kB / 1.492 GB, free: 7.133 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.997e-05/0.6207, allocations: 104.9 kB / 1.492 GB, free: 7.023 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.6207, allocations: 101 kB / 1.492 GB, free: 6.918 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.899e-05/0.6208, allocations: 184.3 kB / 1.492 GB, free: 6.73 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-05/0.6209, allocations: 188.1 kB / 1.493 GB, free: 6.539 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.291e-05/0.621, allocations: 180.2 kB / 1.493 GB, free: 6.355 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-05/0.6211, allocations: 184.2 kB / 1.493 GB, free: 6.168 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.6212, allocations: 307.8 kB / 1.493 GB, free: 5.844 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.6213, allocations: 120.8 kB / 1.493 GB, free: 5.719 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.491e-05/0.6214, allocations: 180.2 kB / 1.494 GB, free: 5.535 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.621e-05/0.6215, allocations: 108.9 kB / 1.494 GB, free: 5.422 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.6216, allocations: 184.2 kB / 1.494 GB, free: 5.234 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.861e-05/0.6216, allocations: 101 kB / 1.494 GB, free: 5.129 MB / 1.186 GB Notification: Performance of sorting global known variables: time 9.931e-05/0.6217, allocations: 119.2 kB / 1.494 GB, free: 5.012 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6217, allocations: 0 / 1.494 GB, free: 5.012 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002899/0.622, allocations: 47.72 kB / 1.494 GB, free: 4.965 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.0001591/0.6222, allocations: 182.5 kB / 1.494 GB, free: 4.773 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 9.09e-05/0.6223, allocations: 8 kB / 1.494 GB, free: 4.766 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6223, allocations: 4.312 kB / 1.494 GB, free: 4.762 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.6223, allocations: 3.938 kB / 1.494 GB, free: 4.758 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.6227, allocations: 459.7 kB / 1.495 GB, free: 4.305 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007151/0.6234, allocations: 466.9 kB / 1.495 GB, free: 3.816 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.6236, allocations: 142.9 kB / 1.495 GB, free: 3.66 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.6236, allocations: 11.44 kB / 1.495 GB, free: 3.648 MB / 1.186 GB Notification: Performance of SimCode: time 4.8e-07/0.6236, allocations: 3.938 kB / 1.495 GB, free: 3.645 MB / 1.186 GB Notification: Performance of Templates: time 0.003833/0.6274, allocations: 1.779 MB / 1.497 GB, free: 1.859 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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: 11.914199078921229]