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.001437/0.001437, 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.001724/0.001724, allocations: 217.5 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 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.296/3.296, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002087/0.002087, allocations: 72.34 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4255, allocations: 181.9 MB / 1.365 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.187/0.6125, allocations: 130.8 MB / 1.492 GB, free: 10.23 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006623/0.6192, allocations: 4.364 MB / 1.497 GB, free: 5.852 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00037/0.6195, allocations: 15.94 kB / 1.497 GB, free: 5.836 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006421/0.6202, allocations: 174.8 kB / 1.497 GB, free: 5.664 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.6206, allocations: 83.45 kB / 1.497 GB, free: 5.582 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.6208, allocations: 63.92 kB / 1.497 GB, free: 5.52 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004937/0.6213, allocations: 302.8 kB / 1.497 GB, free: 5.223 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.6216, allocations: 105.2 kB / 1.497 GB, free: 5.125 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.6219, allocations: 111.5 kB / 1.497 GB, free: 5.016 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/0.6221, allocations: 147.4 kB / 1.498 GB, free: 4.871 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.6222, allocations: 16 kB / 1.498 GB, free: 4.855 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 4.387e-05/0.6222, allocations: 16 kB / 1.498 GB, free: 4.84 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 9.947e-05/0.6223, allocations: 67.75 kB / 1.498 GB, free: 4.773 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.6225, allocations: 83.61 kB / 1.498 GB, free: 4.691 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.6228, allocations: 242.8 kB / 1.498 GB, free: 4.453 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6228, allocations: 0 / 1.498 GB, free: 4.453 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6228, allocations: 0 / 1.498 GB, free: 4.453 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.6228, allocations: 0 / 1.498 GB, free: 4.453 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005748/0.6234, allocations: 425.7 kB / 1.498 GB, free: 4.008 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.6234, allocations: 8.031 kB / 1.498 GB, free: 4 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.6235, allocations: 32.75 kB / 1.498 GB, free: 3.969 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.6239, allocations: 198.2 kB / 1.499 GB, free: 3.75 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.6239, allocations: 16.81 kB / 1.499 GB, free: 3.734 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.624, allocations: 20.38 kB / 1.499 GB, free: 3.715 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004587/0.6244, allocations: 309 kB / 1.499 GB, free: 3.359 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.6244, allocations: 3.984 kB / 1.499 GB, free: 3.355 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.6245, allocations: 12 kB / 1.499 GB, free: 3.344 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.6245, allocations: 11.94 kB / 1.499 GB, free: 3.332 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.6247, allocations: 115.8 kB / 1.499 GB, free: 3.219 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.6262, allocations: 1.815 MB / 1.501 GB, free: 1.316 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.6263, allocations: 165.1 kB / 1.501 GB, free: 1.145 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.6264, allocations: 84.08 kB / 1.501 GB, free: 1.059 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.6264, allocations: 87.22 kB / 1.501 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.601e-05/0.6265, allocations: 113.8 kB / 1.501 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.6265, allocations: 0 / 1.501 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 7.876e-05/0.6266, allocations: 37.64 kB / 1.501 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.6267, allocations: 130.6 kB / 1.501 GB, free: 0.668 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.6268, allocations: 170.4 kB / 1.502 GB, free: 500 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.6269, allocations: 29.7 kB / 1.502 GB, free: 464 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.627, allocations: 179.8 kB / 1.502 GB, free: 280 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/0.627, allocations: 0 / 1.502 GB, free: 280 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.627, allocations: 25.67 kB / 1.502 GB, free: 248 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.6272, allocations: 322.8 kB / 1.502 GB, free: 15.92 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.6272, allocations: 12 kB / 1.502 GB, free: 15.91 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.844e-05/0.6273, allocations: 58.8 kB / 1.502 GB, free: 15.82 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.6274, allocations: 70.84 kB / 1.502 GB, free: 15.73 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.6274, allocations: 0 / 1.502 GB, free: 15.73 MB / 1.201 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001882/0.6276, allocations: 101.4 kB / 1.502 GB, free: 15.62 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.6276, allocations: 4 kB / 1.502 GB, free: 15.62 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6276, allocations: 0 / 1.502 GB, free: 15.62 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6276, allocations: 4 kB / 1.502 GB, free: 15.62 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.6277, allocations: 19.88 kB / 1.502 GB, free: 15.6 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.6277, allocations: 4 kB / 1.502 GB, free: 15.59 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.6278, allocations: 11.94 kB / 1.502 GB, free: 15.58 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.6278, allocations: 12.25 kB / 1.502 GB, free: 15.57 MB / 1.201 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.0001625/0.6279, allocations: 205.1 kB / 1.503 GB, free: 15.36 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.628, allocations: 120.9 kB / 1.503 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.133e-05/0.6281, allocations: 109.5 kB / 1.503 GB, free: 15.12 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.245e-05/0.6282, allocations: 184.2 kB / 1.503 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001025/0.6283, allocations: 188.2 kB / 1.503 GB, free: 14.74 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.963e-05/0.6284, allocations: 176.4 kB / 1.503 GB, free: 14.56 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.6287, allocations: 420.8 kB / 1.504 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.958e-05/0.6288, allocations: 101 kB / 1.504 GB, free: 14.01 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.6288, allocations: 101 kB / 1.504 GB, free: 13.9 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.6289, allocations: 188.2 kB / 1.504 GB, free: 13.71 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.675e-05/0.629, allocations: 180.2 kB / 1.504 GB, free: 13.53 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001209/0.6291, allocations: 184.2 kB / 1.504 GB, free: 13.34 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.934e-05/0.6292, allocations: 184.2 kB / 1.505 GB, free: 13.15 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.6294, allocations: 311.7 kB / 1.505 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.6295, allocations: 124.9 kB / 1.505 GB, free: 12.7 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.714e-05/0.6296, allocations: 180.2 kB / 1.505 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.6297, allocations: 105 kB / 1.505 GB, free: 12.4 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.6298, allocations: 184.1 kB / 1.506 GB, free: 12.21 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.6298, allocations: 104.9 kB / 1.506 GB, free: 12.11 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000109/0.6299, allocations: 128.8 kB / 1.506 GB, free: 11.98 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6299, allocations: 8 kB / 1.506 GB, free: 11.97 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003173/0.6303, allocations: 39.84 kB / 1.506 GB, free: 11.93 MB / 1.201 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.0001512/0.6304, allocations: 170.5 kB / 1.506 GB, free: 11.75 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 9.947e-05/0.6305, allocations: 23.92 kB / 1.506 GB, free: 11.73 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6305, allocations: 0 / 1.506 GB, free: 11.73 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-06/0.6305, allocations: 3.938 kB / 1.506 GB, free: 11.73 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.631, allocations: 461.4 kB / 1.506 GB, free: 11.27 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006492/0.6316, allocations: 425.6 kB / 1.507 GB, free: 10.82 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.6318, allocations: 128.6 kB / 1.507 GB, free: 10.68 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.6318, allocations: 11.44 kB / 1.507 GB, free: 10.67 MB / 1.201 GB Notification: Performance of SimCode: time 2.9e-07/0.6318, allocations: 0 / 1.507 GB, free: 10.67 MB / 1.201 GB Notification: Performance of Templates: time 0.003672/0.6355, allocations: 1.676 MB / 1.509 GB, free: 8.988 MB / 1.201 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 11.924591756425798]