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.001232/0.001232, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001342/0.001342, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.51/1.51, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.978/2.978, allocations: 0.49 GB / 0.7923 GB, free: 1.441 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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="cs",version="2.0",platforms={"static"}) [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.002147/0.002147, allocations: 67.91 kB / 1.15 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9761/0.9782, allocations: 176.1 MB / 1.322 GB, free: 7.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2161/1.194, allocations: 177.5 MB / 1.495 GB, free: 3.949 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01096/1.205, allocations: 9.588 MB / 1.504 GB, free: 10.32 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/1.206, allocations: 15.88 kB / 1.504 GB, free: 10.31 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007082/1.206, allocations: 194.7 kB / 1.504 GB, free: 10.12 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003254/1.207, allocations: 91.31 kB / 1.505 GB, free: 10.03 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/1.207, allocations: 71.91 kB / 1.505 GB, free: 9.957 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00045/1.207, allocations: 326.7 kB / 1.505 GB, free: 9.637 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000368/1.208, allocations: 144.9 kB / 1.505 GB, free: 9.496 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/1.208, allocations: 175.4 kB / 1.505 GB, free: 9.324 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/1.208, allocations: 127.4 kB / 1.505 GB, free: 9.199 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/1.208, allocations: 20 kB / 1.505 GB, free: 9.18 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 3.858e-05/1.208, allocations: 27.94 kB / 1.505 GB, free: 9.152 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/1.209, allocations: 75.75 kB / 1.505 GB, free: 9.078 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/1.209, allocations: 123.4 kB / 1.506 GB, free: 8.957 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003768/1.209, allocations: 294.7 kB / 1.506 GB, free: 8.668 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.209, allocations: 4 kB / 1.506 GB, free: 8.664 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.633e-06/1.209, allocations: 0 / 1.506 GB, free: 8.664 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.107e-06/1.209, allocations: 0 / 1.506 GB, free: 8.664 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.0006529/1.21, allocations: 0.5181 MB / 1.506 GB, free: 8.098 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.21, allocations: 15.98 kB / 1.506 GB, free: 8.082 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.247e-05/1.21, allocations: 8.562 kB / 1.506 GB, free: 8.074 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.506e-05/1.21, allocations: 58.55 kB / 1.506 GB, free: 8.008 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/1.21, allocations: 43.73 kB / 1.506 GB, free: 7.965 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/1.21, allocations: 270.6 kB / 1.507 GB, free: 7.66 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/1.21, allocations: 20.56 kB / 1.507 GB, free: 7.637 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/1.21, allocations: 24 kB / 1.507 GB, free: 7.613 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/1.211, allocations: 327.9 kB / 1.507 GB, free: 7.25 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/1.211, allocations: 4 kB / 1.507 GB, free: 7.246 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/1.211, allocations: 8 kB / 1.507 GB, free: 7.238 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/1.211, allocations: 11.94 kB / 1.507 GB, free: 7.227 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/1.211, allocations: 139.8 kB / 1.507 GB, free: 7.09 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/1.213, allocations: 1.824 MB / 1.509 GB, free: 5.168 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/1.213, allocations: 173 kB / 1.509 GB, free: 4.988 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/1.213, allocations: 80.14 kB / 1.509 GB, free: 4.906 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/1.213, allocations: 79.28 kB / 1.509 GB, free: 4.828 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.176e-05/1.213, allocations: 113.8 kB / 1.509 GB, free: 4.707 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/1.213, allocations: 0 / 1.509 GB, free: 4.707 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001136/1.213, allocations: 57.52 kB / 1.51 GB, free: 4.645 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/1.213, allocations: 130.6 kB / 1.51 GB, free: 4.504 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/1.214, allocations: 373.7 kB / 1.51 GB, free: 4.129 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/1.214, allocations: 25.7 kB / 1.51 GB, free: 4.098 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/1.214, allocations: 171.9 kB / 1.51 GB, free: 3.926 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/1.214, allocations: 0 / 1.51 GB, free: 3.926 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/1.214, allocations: 17.72 kB / 1.51 GB, free: 3.902 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.214, allocations: 334.8 kB / 1.511 GB, free: 3.566 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/1.214, allocations: 8 kB / 1.511 GB, free: 3.559 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-05/1.214, allocations: 36.22 kB / 1.511 GB, free: 3.512 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.175e-05/1.214, allocations: 48.23 kB / 1.511 GB, free: 3.449 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.214, allocations: 0 / 1.511 GB, free: 3.449 MB / 1.186 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001724/1.214, allocations: 97.41 kB / 1.511 GB, free: 3.348 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.214, allocations: 8 kB / 1.511 GB, free: 3.34 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.214, allocations: 0 / 1.511 GB, free: 3.34 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.214, allocations: 0 / 1.511 GB, free: 3.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.917e-05/1.214, allocations: 11.98 kB / 1.511 GB, free: 3.328 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.214, allocations: 4 kB / 1.511 GB, free: 3.324 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.163e-05/1.214, allocations: 23.73 kB / 1.511 GB, free: 3.301 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/1.214, allocations: 4 kB / 1.511 GB, free: 3.297 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.0001576/1.215, allocations: 225 kB / 1.511 GB, free: 3.066 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/1.215, allocations: 128.8 kB / 1.511 GB, free: 2.934 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.032e-05/1.215, allocations: 123 kB / 1.511 GB, free: 2.805 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.742e-05/1.215, allocations: 184.2 kB / 1.511 GB, free: 2.617 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.972e-05/1.215, allocations: 184.4 kB / 1.512 GB, free: 2.43 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.38e-05/1.215, allocations: 184.1 kB / 1.512 GB, free: 2.242 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/1.215, allocations: 0.4895 MB / 1.512 GB, free: 1.695 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.926e-05/1.215, allocations: 105 kB / 1.512 GB, free: 1.586 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/1.216, allocations: 104.9 kB / 1.512 GB, free: 1.477 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.342e-05/1.216, allocations: 176.3 kB / 1.513 GB, free: 1.297 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.796e-05/1.216, allocations: 188.2 kB / 1.513 GB, free: 1.105 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.241e-05/1.216, allocations: 176.3 kB / 1.513 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.242e-05/1.216, allocations: 188.2 kB / 1.513 GB, free: 0.7344 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/1.216, allocations: 331.6 kB / 1.513 GB, free: 396 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/1.216, allocations: 213.8 kB / 1.514 GB, free: 156 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/1.216, allocations: 184.2 kB / 1.514 GB, free: 15.96 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/1.216, allocations: 109 kB / 1.514 GB, free: 15.85 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/1.216, allocations: 180.2 kB / 1.514 GB, free: 15.67 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/1.217, allocations: 101 kB / 1.514 GB, free: 15.56 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002988/1.217, allocations: 271.2 kB / 1.514 GB, free: 15.3 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.217, allocations: 3.938 kB / 1.514 GB, free: 15.3 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002701/1.217, allocations: 31.94 kB / 1.514 GB, free: 15.27 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.0004878/1.218, allocations: 0.8436 MB / 1.515 GB, free: 14.4 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 9.167e-05/1.218, allocations: 11.94 kB / 1.515 GB, free: 14.39 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.218, allocations: 0 / 1.515 GB, free: 14.39 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-06/1.218, allocations: 4 kB / 1.515 GB, free: 14.38 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008634/1.219, allocations: 0.5482 MB / 1.516 GB, free: 13.83 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/1.222, allocations: 2.694 MB / 1.518 GB, free: 11.04 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/1.222, allocations: 0.7558 MB / 1.519 GB, free: 10.26 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001269/1.222, allocations: 34.95 kB / 1.519 GB, free: 10.23 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/1.222, allocations: 75.42 kB / 1.519 GB, free: 10.15 MB / 1.201 GB Notification: Performance of SimCode: time 9.52e-07/1.222, allocations: 0 / 1.519 GB, free: 10.15 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/1.247, allocations: 5.982 MB / 1.525 GB, free: 4.359 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.866/10.11, allocations: 4.953 kB / 1.525 GB, free: 4.355 MB / 1.201 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 420.0] 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: 16.52063361101318]