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.001526/0.001526, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001969/0.001969, allocations: 216.9 kB / 22.26 MB, free: 5.113 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.662/1.662, allocations: 230.6 MB / 256 MB, free: 8.027 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.56/3.56, allocations: 0.5096 GB / 0.8147 GB, free: 17.23 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.003267/0.003267, allocations: 68.47 kB / 1.184 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5764/0.5797, allocations: 181.4 MB / 1.361 GB, free: 160 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.227/0.8066, allocations: 151.6 MB / 1.51 GB, free: 7.945 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006516/0.8132, allocations: 4.769 MB / 1.514 GB, free: 3.16 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003487/0.8135, allocations: 7.938 kB / 1.514 GB, free: 3.152 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006719/0.8142, allocations: 166.8 kB / 1.514 GB, free: 2.988 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.8146, allocations: 91.44 kB / 1.514 GB, free: 2.898 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.8148, allocations: 67.86 kB / 1.515 GB, free: 2.832 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004598/0.8152, allocations: 302.8 kB / 1.515 GB, free: 2.535 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.8155, allocations: 108.2 kB / 1.515 GB, free: 2.434 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.8157, allocations: 111.6 kB / 1.515 GB, free: 2.324 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.816, allocations: 151.4 kB / 1.515 GB, free: 2.176 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.816, allocations: 16 kB / 1.515 GB, free: 2.16 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 3.309e-05/0.8161, allocations: 20 kB / 1.515 GB, free: 2.141 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.8162, allocations: 67.81 kB / 1.515 GB, free: 2.074 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.8163, allocations: 107.4 kB / 1.515 GB, free: 1.969 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.8166, allocations: 238.8 kB / 1.516 GB, free: 1.734 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.8166, allocations: 0 / 1.516 GB, free: 1.734 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8166, allocations: 0 / 1.516 GB, free: 1.734 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.8167, allocations: 0 / 1.516 GB, free: 1.734 MB / 1.201 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.0006572/0.8173, allocations: 417.7 kB / 1.516 GB, free: 1.297 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.8174, allocations: 15.97 kB / 1.516 GB, free: 1.281 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.235e-05/0.8175, allocations: 28.8 kB / 1.516 GB, free: 1.254 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.818, allocations: 206.1 kB / 1.516 GB, free: 1.027 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.818, allocations: 16.81 kB / 1.516 GB, free: 1.012 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.818, allocations: 16.38 kB / 1.516 GB, free: 0.9961 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.8186, allocations: 309 kB / 1.517 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.8186, allocations: 4 kB / 1.517 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.8186, allocations: 12 kB / 1.517 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.8187, allocations: 8 kB / 1.517 GB, free: 0.6133 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.8189, allocations: 123.7 kB / 1.517 GB, free: 0.4922 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.8206, allocations: 1.931 MB / 1.519 GB, free: 14.46 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.8208, allocations: 169.1 kB / 1.519 GB, free: 14.29 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.8208, allocations: 84.14 kB / 1.519 GB, free: 14.2 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 5.235e-05/0.8209, allocations: 83.25 kB / 1.519 GB, free: 14.12 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.833e-05/0.8209, allocations: 109.8 kB / 1.519 GB, free: 14 MB / 1.217 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.8209, allocations: 0 / 1.519 GB, free: 14 MB / 1.217 GB Notification: Performance of matching and sorting (n=0): time 0.0001245/0.8211, allocations: 61.48 kB / 1.519 GB, free: 13.93 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.8212, allocations: 126.7 kB / 1.519 GB, free: 13.8 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.8216, allocations: 332.5 kB / 1.52 GB, free: 13.46 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.8217, allocations: 25.7 kB / 1.52 GB, free: 13.43 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.8218, allocations: 163.8 kB / 1.52 GB, free: 13.26 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.483e-06/0.8218, allocations: 4 kB / 1.52 GB, free: 13.26 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.8219, allocations: 21.72 kB / 1.52 GB, free: 13.23 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.8221, allocations: 330.8 kB / 1.52 GB, free: 12.9 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.8221, allocations: 12 kB / 1.52 GB, free: 12.89 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.535e-05/0.8222, allocations: 62.8 kB / 1.52 GB, free: 12.8 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.725e-05/0.8223, allocations: 62.81 kB / 1.52 GB, free: 12.71 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.8223, allocations: 4 kB / 1.52 GB, free: 12.71 MB / 1.217 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002077/0.8225, allocations: 109.3 kB / 1.52 GB, free: 12.6 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.8225, allocations: 4.25 kB / 1.52 GB, free: 12.59 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8225, allocations: 8 kB / 1.52 GB, free: 12.59 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.8225, allocations: 7.938 kB / 1.52 GB, free: 12.58 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.8226, allocations: 11.94 kB / 1.52 GB, free: 12.57 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.8226, allocations: 4 kB / 1.52 GB, free: 12.56 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.401e-05/0.8227, allocations: 27.73 kB / 1.52 GB, free: 12.54 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.8227, allocations: 7.984 kB / 1.52 GB, free: 12.53 MB / 1.217 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.0001817/0.8229, allocations: 205.1 kB / 1.521 GB, free: 12.32 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.823, allocations: 132.8 kB / 1.521 GB, free: 12.18 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.424e-05/0.8231, allocations: 133.9 kB / 1.521 GB, free: 12.04 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001008/0.8232, allocations: 184.2 kB / 1.521 GB, free: 11.85 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000102/0.8233, allocations: 180.2 kB / 1.521 GB, free: 11.67 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000101/0.8234, allocations: 176.4 kB / 1.521 GB, free: 11.49 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.8238, allocations: 456.2 kB / 1.522 GB, free: 10.99 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.753e-05/0.8238, allocations: 105 kB / 1.522 GB, free: 10.88 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.8239, allocations: 101 kB / 1.522 GB, free: 10.78 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.322e-05/0.824, allocations: 184.2 kB / 1.522 GB, free: 10.59 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-05/0.8241, allocations: 188.2 kB / 1.522 GB, free: 10.4 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001055/0.8242, allocations: 184.2 kB / 1.522 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.393e-05/0.8243, allocations: 180.2 kB / 1.523 GB, free: 10.03 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.8245, allocations: 331.6 kB / 1.523 GB, free: 9.68 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.8246, allocations: 128.8 kB / 1.523 GB, free: 9.547 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.8247, allocations: 184.1 kB / 1.523 GB, free: 9.359 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.8249, allocations: 105 kB / 1.523 GB, free: 9.25 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.825, allocations: 184.3 kB / 1.524 GB, free: 9.062 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.244e-05/0.825, allocations: 104.9 kB / 1.524 GB, free: 8.953 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002635/0.8253, allocations: 235 kB / 1.524 GB, free: 8.727 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.8253, allocations: 0 / 1.524 GB, free: 8.727 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003197/0.8256, allocations: 35.89 kB / 1.524 GB, free: 8.691 MB / 1.217 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.0001858/0.8258, allocations: 170.5 kB / 1.524 GB, free: 8.516 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.8259, allocations: 27.92 kB / 1.524 GB, free: 8.488 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8259, allocations: 0 / 1.524 GB, free: 8.488 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 3.937e-06/0.8259, allocations: 3.938 kB / 1.524 GB, free: 8.484 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008453/0.8268, allocations: 0.5268 MB / 1.525 GB, free: 7.953 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.8275, allocations: 407.9 kB / 1.525 GB, free: 7.527 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.828, allocations: 0.748 MB / 1.526 GB, free: 6.754 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.8281, allocations: 34.27 kB / 1.526 GB, free: 6.723 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.8282, allocations: 15.44 kB / 1.526 GB, free: 6.707 MB / 1.217 GB Notification: Performance of SimCode: time 9.21e-07/0.8282, allocations: 0 / 1.526 GB, free: 6.707 MB / 1.217 GB Notification: Performance of Templates: time 0.006535/0.8347, allocations: 2.404 MB / 1.528 GB, free: 4.336 MB / 1.217 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/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: 10.996932186651975]