Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001353/0.001353, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001511/0.001511, allocations: 215 kB / 23.04 MB, free: 5.074 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.817/2.817, allocations: 476.7 MB / 0.7715 GB, free: 4.328 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_11_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.002081/0.002081, allocations: 64.75 kB / 1.118 GB, free: 39.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3582, allocations: 170 MB / 1.284 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2267/0.5849, allocations: 177.8 MB / 1.458 GB, free: 9.164 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01111/0.5961, allocations: 9.655 MB / 1.467 GB, free: 15.48 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004194/0.5965, allocations: 15.88 kB / 1.467 GB, free: 15.46 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006767/0.5972, allocations: 194.7 kB / 1.467 GB, free: 15.27 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.5975, allocations: 99.31 kB / 1.468 GB, free: 15.18 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.5977, allocations: 71.8 kB / 1.468 GB, free: 15.11 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.5982, allocations: 326.7 kB / 1.468 GB, free: 14.79 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003368/0.5985, allocations: 137.4 kB / 1.468 GB, free: 14.65 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003804/0.5989, allocations: 167.4 kB / 1.468 GB, free: 14.48 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.5991, allocations: 131.3 kB / 1.468 GB, free: 14.36 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.5991, allocations: 20 kB / 1.468 GB, free: 14.34 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 4.019e-05/0.5991, allocations: 24 kB / 1.468 GB, free: 14.31 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.5993, allocations: 79.75 kB / 1.468 GB, free: 14.23 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.5994, allocations: 123.4 kB / 1.469 GB, free: 14.11 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.5998, allocations: 298.6 kB / 1.469 GB, free: 13.82 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5998, allocations: 0 / 1.469 GB, free: 13.82 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5998, allocations: 0 / 1.469 GB, free: 13.82 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.5998, allocations: 0 / 1.469 GB, free: 13.82 MB / 1.17 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.0005728/0.6003, allocations: 453.6 kB / 1.469 GB, free: 13.35 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.6004, allocations: 8.031 kB / 1.469 GB, free: 13.34 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.11e-05/0.6004, allocations: 12.66 kB / 1.469 GB, free: 13.32 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.565e-05/0.6005, allocations: 58.55 kB / 1.469 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.6006, allocations: 43.75 kB / 1.469 GB, free: 13.21 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.601, allocations: 208.8 kB / 1.47 GB, free: 12.98 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.601, allocations: 24.64 kB / 1.47 GB, free: 12.96 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.601, allocations: 28 kB / 1.47 GB, free: 12.93 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005101/0.6016, allocations: 329.1 kB / 1.47 GB, free: 12.57 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.6016, allocations: 0 / 1.47 GB, free: 12.57 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.6016, allocations: 12 kB / 1.47 GB, free: 12.55 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.6016, allocations: 11.94 kB / 1.47 GB, free: 12.54 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.6018, allocations: 143.7 kB / 1.47 GB, free: 12.4 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.6033, allocations: 1.784 MB / 1.472 GB, free: 10.53 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.6034, allocations: 169.1 kB / 1.472 GB, free: 10.36 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.6035, allocations: 84.08 kB / 1.472 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.6035, allocations: 75.28 kB / 1.472 GB, free: 10.2 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/0.6036, allocations: 117.8 kB / 1.472 GB, free: 10.07 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.6036, allocations: 0 / 1.472 GB, free: 10.07 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001157/0.6037, allocations: 61.44 kB / 1.472 GB, free: 10 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.6038, allocations: 126.7 kB / 1.472 GB, free: 9.867 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.6042, allocations: 373.7 kB / 1.473 GB, free: 9.492 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.6042, allocations: 25.7 kB / 1.473 GB, free: 9.461 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.6044, allocations: 163.9 kB / 1.473 GB, free: 9.297 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-06/0.6044, allocations: 8 kB / 1.473 GB, free: 9.289 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.6044, allocations: 17.72 kB / 1.473 GB, free: 9.266 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.6046, allocations: 330.8 kB / 1.473 GB, free: 8.934 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.6046, allocations: 11.98 kB / 1.473 GB, free: 8.922 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.6046, allocations: 32.3 kB / 1.473 GB, free: 8.875 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.447e-05/0.6047, allocations: 48.23 kB / 1.473 GB, free: 8.812 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6047, allocations: 0 / 1.473 GB, free: 8.812 MB / 1.17 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001644/0.6049, allocations: 89.31 kB / 1.473 GB, free: 8.719 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.6049, allocations: 8.156 kB / 1.474 GB, free: 8.711 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6049, allocations: 7.984 kB / 1.474 GB, free: 8.703 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.6049, allocations: 4 kB / 1.474 GB, free: 8.699 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.908e-05/0.605, allocations: 4 kB / 1.474 GB, free: 8.695 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.605, allocations: 11.92 kB / 1.474 GB, free: 8.684 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.6051, allocations: 27.73 kB / 1.474 GB, free: 8.656 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.6051, allocations: 4 kB / 1.474 GB, free: 8.652 MB / 1.17 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.0001689/0.6052, allocations: 217 kB / 1.474 GB, free: 8.43 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.6053, allocations: 124.8 kB / 1.474 GB, free: 8.301 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.964e-05/0.6054, allocations: 134.8 kB / 1.474 GB, free: 8.164 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.254e-05/0.6055, allocations: 184.2 kB / 1.474 GB, free: 7.977 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.588e-05/0.6056, allocations: 176.3 kB / 1.474 GB, free: 7.797 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.777e-05/0.6057, allocations: 180.3 kB / 1.475 GB, free: 7.613 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.606, allocations: 468.2 kB / 1.475 GB, free: 7.105 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.354e-05/0.6061, allocations: 113 kB / 1.475 GB, free: 6.988 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.84e-05/0.6061, allocations: 109.1 kB / 1.475 GB, free: 6.875 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.48e-05/0.6062, allocations: 188.2 kB / 1.475 GB, free: 6.684 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.64e-05/0.6063, allocations: 176.3 kB / 1.476 GB, free: 6.504 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-05/0.6064, allocations: 180.3 kB / 1.476 GB, free: 6.32 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.811e-05/0.6064, allocations: 180.2 kB / 1.476 GB, free: 6.137 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.6066, allocations: 339.5 kB / 1.476 GB, free: 5.781 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.6068, allocations: 140.8 kB / 1.476 GB, free: 5.637 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.6069, allocations: 176.3 kB / 1.477 GB, free: 5.457 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.607, allocations: 104.9 kB / 1.477 GB, free: 5.348 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.6071, allocations: 180.3 kB / 1.477 GB, free: 5.164 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.6071, allocations: 112.9 kB / 1.477 GB, free: 5.047 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000285/0.6074, allocations: 271.2 kB / 1.477 GB, free: 4.785 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6074, allocations: 0 / 1.477 GB, free: 4.785 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002669/0.6077, allocations: 28 kB / 1.477 GB, free: 4.758 MB / 1.17 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.0005104/0.6082, allocations: 0.8398 MB / 1.478 GB, free: 3.887 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 9.32e-05/0.6083, allocations: 15.92 kB / 1.478 GB, free: 3.871 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6083, allocations: 0 / 1.478 GB, free: 3.871 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.6083, allocations: 0 / 1.478 GB, free: 3.871 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009237/0.6092, allocations: 0.5481 MB / 1.479 GB, free: 3.316 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.6122, allocations: 2.703 MB / 1.481 GB, free: 0.5156 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.6126, allocations: 0.7558 MB / 1.482 GB, free: 15.73 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.6128, allocations: 30.97 kB / 1.482 GB, free: 15.7 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.6129, allocations: 75.41 kB / 1.482 GB, free: 15.63 MB / 1.186 GB Notification: Performance of SimCode: time 1.022e-06/0.6129, allocations: 0 / 1.482 GB, free: 15.63 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.6415, allocations: 6.076 MB / 1.488 GB, free: 9.754 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.31, allocations: 10.12 kB / 1.488 GB, free: 9.746 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.1368092460325]