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.00167/0.00167, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002106/0.002106, allocations: 216.9 kB / 23.01 MB, free: 5.125 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.678/1.678, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.447/3.447, allocations: 0.49 GB / 0.7958 GB, free: 33.37 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.002099/0.002099, allocations: 69.05 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3751, allocations: 176.1 MB / 1.327 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2254/0.6005, allocations: 177.8 MB / 1.501 GB, free: 14.94 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01115/0.6117, allocations: 9.666 MB / 1.51 GB, free: 5.238 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.612, allocations: 11.94 kB / 1.51 GB, free: 5.227 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006136/0.6126, allocations: 190.6 kB / 1.51 GB, free: 5.039 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.6129, allocations: 91.31 kB / 1.51 GB, free: 4.949 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.6131, allocations: 67.86 kB / 1.511 GB, free: 4.883 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.6135, allocations: 330.7 kB / 1.511 GB, free: 4.559 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.6138, allocations: 133.2 kB / 1.511 GB, free: 4.426 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/0.6142, allocations: 179.3 kB / 1.511 GB, free: 4.25 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.6144, allocations: 127.4 kB / 1.511 GB, free: 4.125 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.6144, allocations: 27.94 kB / 1.511 GB, free: 4.098 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 3.759e-05/0.6145, allocations: 20 kB / 1.511 GB, free: 4.078 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 9.721e-05/0.6145, allocations: 75.75 kB / 1.511 GB, free: 4.004 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.6147, allocations: 127.4 kB / 1.512 GB, free: 3.879 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.6151, allocations: 298.5 kB / 1.512 GB, free: 3.586 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.6151, allocations: 4 kB / 1.512 GB, free: 3.582 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6151, allocations: 0 / 1.512 GB, free: 3.582 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.6151, allocations: 0 / 1.512 GB, free: 3.582 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005816/0.6157, allocations: 453.6 kB / 1.512 GB, free: 3.109 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.6157, allocations: 12.03 kB / 1.512 GB, free: 3.098 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.6158, allocations: 35.75 kB / 1.512 GB, free: 3.062 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.6162, allocations: 214.6 kB / 1.513 GB, free: 2.828 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.6162, allocations: 20.66 kB / 1.513 GB, free: 2.809 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.6162, allocations: 24 kB / 1.513 GB, free: 2.785 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.6167, allocations: 325.2 kB / 1.513 GB, free: 2.422 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.6167, allocations: 3.938 kB / 1.513 GB, free: 2.418 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.6168, allocations: 12 kB / 1.513 GB, free: 2.406 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.6168, allocations: 8 kB / 1.513 GB, free: 2.398 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.617, allocations: 139.7 kB / 1.513 GB, free: 2.262 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.6186, allocations: 1.78 MB / 1.515 GB, free: 400 kB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.6187, allocations: 173.2 kB / 1.515 GB, free: 216 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.6187, allocations: 88.08 kB / 1.515 GB, free: 124 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.962e-05/0.6187, allocations: 79.22 kB / 1.515 GB, free: 44 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.526e-05/0.6188, allocations: 113.8 kB / 1.515 GB, free: 15.92 MB / 1.217 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.6188, allocations: 0 / 1.515 GB, free: 15.92 MB / 1.217 GB Notification: Performance of matching and sorting (n=0): time 0.0001111/0.6189, allocations: 53.52 kB / 1.515 GB, free: 15.86 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.67e-05/0.619, allocations: 130.7 kB / 1.515 GB, free: 15.72 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.6195, allocations: 373.7 kB / 1.516 GB, free: 15.35 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.6195, allocations: 29.7 kB / 1.516 GB, free: 15.31 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.6196, allocations: 167.9 kB / 1.516 GB, free: 15.14 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-06/0.6196, allocations: 0 / 1.516 GB, free: 15.14 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.6197, allocations: 17.72 kB / 1.516 GB, free: 15.12 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.6199, allocations: 338.8 kB / 1.516 GB, free: 14.78 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.6199, allocations: 4 kB / 1.516 GB, free: 14.78 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.113e-05/0.6199, allocations: 44.22 kB / 1.516 GB, free: 14.72 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.243e-05/0.62, allocations: 40.23 kB / 1.516 GB, free: 14.66 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.62, allocations: 0 / 1.516 GB, free: 14.66 MB / 1.217 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001786/0.6202, allocations: 97.38 kB / 1.516 GB, free: 14.56 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6202, allocations: 5.875 kB / 1.516 GB, free: 14.56 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6202, allocations: 7.938 kB / 1.516 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6202, allocations: 0 / 1.516 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/0.6203, allocations: 11.94 kB / 1.516 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.6203, allocations: 0 / 1.516 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.468e-05/0.6204, allocations: 27.73 kB / 1.516 GB, free: 14.51 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.6204, allocations: 4 kB / 1.516 GB, free: 14.51 MB / 1.217 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.0001945/0.6206, allocations: 214.5 kB / 1.517 GB, free: 14.29 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.766e-05/0.6207, allocations: 140.7 kB / 1.517 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.6208, allocations: 126.9 kB / 1.517 GB, free: 14.01 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.861e-05/0.6208, allocations: 180.3 kB / 1.517 GB, free: 13.83 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.639e-05/0.6209, allocations: 184.2 kB / 1.517 GB, free: 13.64 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.429e-05/0.621, allocations: 184.3 kB / 1.517 GB, free: 13.45 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/0.6214, allocations: 464.1 kB / 1.518 GB, free: 12.95 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.1e-05/0.6215, allocations: 112.9 kB / 1.518 GB, free: 12.83 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.6215, allocations: 101 kB / 1.518 GB, free: 12.73 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.211e-05/0.6216, allocations: 180.2 kB / 1.518 GB, free: 12.54 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.369e-05/0.6217, allocations: 180.2 kB / 1.518 GB, free: 12.36 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-05/0.6218, allocations: 188.2 kB / 1.519 GB, free: 12.17 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.544e-05/0.6218, allocations: 184.2 kB / 1.519 GB, free: 11.98 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.6221, allocations: 331.6 kB / 1.519 GB, free: 11.63 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.6222, allocations: 136.7 kB / 1.519 GB, free: 11.49 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.6223, allocations: 188.2 kB / 1.519 GB, free: 11.3 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.6224, allocations: 101.1 kB / 1.52 GB, free: 11.2 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.6225, allocations: 188.2 kB / 1.52 GB, free: 11 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/0.6226, allocations: 105 kB / 1.52 GB, free: 10.89 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003122/0.6229, allocations: 267.2 kB / 1.52 GB, free: 10.64 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6229, allocations: 0 / 1.52 GB, free: 10.64 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0002778/0.6231, allocations: 28 kB / 1.52 GB, free: 10.61 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.0001655/0.6233, allocations: 178.5 kB / 1.52 GB, free: 10.42 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 9.013e-05/0.6234, allocations: 11.94 kB / 1.52 GB, free: 10.41 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6234, allocations: 0 / 1.52 GB, free: 10.41 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-06/0.6234, allocations: 7.984 kB / 1.52 GB, free: 10.4 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008883/0.6243, allocations: 0.5532 MB / 1.521 GB, free: 9.848 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007501/0.625, allocations: 474.8 kB / 1.521 GB, free: 9.352 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.6255, allocations: 0.7558 MB / 1.522 GB, free: 8.57 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.6255, allocations: 19.44 kB / 1.522 GB, free: 8.551 MB / 1.217 GB Notification: Performance of SimCode: time 3.11e-07/0.6255, allocations: 0 / 1.522 GB, free: 8.551 MB / 1.217 GB Notification: Performance of Templates: time 0.005846/0.6314, allocations: 3.152 MB / 1.525 GB, free: 5.422 MB / 1.217 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: 12.555651118018432]