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.001858/0.001858, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002239/0.002239, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.834/2.834, allocations: 476.7 MB / 0.7678 GB, free: 9.422 MB / 0.6075 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.002036/0.002036, allocations: 71.89 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2303/1.244, allocations: 177.5 MB / 1.452 GB, free: 10.38 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0115/1.256, allocations: 9.584 MB / 1.462 GB, free: 0.7656 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003857/1.256, allocations: 11.94 kB / 1.462 GB, free: 0.7539 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006404/1.257, allocations: 202.5 kB / 1.462 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002586/1.257, allocations: 91.31 kB / 1.462 GB, free: 476 kB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/1.257, allocations: 67.92 kB / 1.462 GB, free: 408 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004184/1.258, allocations: 326.7 kB / 1.462 GB, free: 80 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003416/1.258, allocations: 144.9 kB / 1.463 GB, free: 15.93 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000366/1.258, allocations: 179.3 kB / 1.463 GB, free: 15.76 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/1.259, allocations: 123.5 kB / 1.463 GB, free: 15.64 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/1.259, allocations: 20 kB / 1.463 GB, free: 15.62 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-05/1.259, allocations: 28 kB / 1.463 GB, free: 15.59 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 9.531e-05/1.259, allocations: 75.75 kB / 1.463 GB, free: 15.52 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/1.259, allocations: 123.4 kB / 1.463 GB, free: 15.39 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.000352/1.259, allocations: 302.5 kB / 1.463 GB, free: 15.1 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.259, allocations: 0 / 1.463 GB, free: 15.1 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.573e-06/1.259, allocations: 0 / 1.463 GB, free: 15.1 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.252e-05/1.259, allocations: 0 / 1.463 GB, free: 15.1 MB / 1.154 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.0006524/1.26, allocations: 0.5182 MB / 1.464 GB, free: 14.53 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.26, allocations: 8.031 kB / 1.464 GB, free: 14.52 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.256e-05/1.26, allocations: 12.56 kB / 1.464 GB, free: 14.51 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.14e-05/1.26, allocations: 58.55 kB / 1.464 GB, free: 14.45 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/1.26, allocations: 39.73 kB / 1.464 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/1.261, allocations: 276.2 kB / 1.464 GB, free: 14.1 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/1.261, allocations: 16.56 kB / 1.464 GB, free: 14.08 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/1.261, allocations: 32 kB / 1.464 GB, free: 14.05 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/1.261, allocations: 319.9 kB / 1.465 GB, free: 13.7 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/1.261, allocations: 4 kB / 1.465 GB, free: 13.69 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/1.261, allocations: 8 kB / 1.465 GB, free: 13.68 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/1.261, allocations: 11.94 kB / 1.465 GB, free: 13.67 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/1.261, allocations: 139.8 kB / 1.465 GB, free: 13.54 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/1.263, allocations: 1.828 MB / 1.467 GB, free: 11.61 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/1.263, allocations: 177 kB / 1.467 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.004e-05/1.263, allocations: 80.14 kB / 1.467 GB, free: 11.34 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/1.263, allocations: 75.28 kB / 1.467 GB, free: 11.27 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/1.263, allocations: 109.8 kB / 1.467 GB, free: 11.15 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.263, allocations: 0 / 1.467 GB, free: 11.15 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 0.0001013/1.263, allocations: 57.52 kB / 1.467 GB, free: 11.09 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/1.263, allocations: 126.7 kB / 1.467 GB, free: 10.95 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/1.264, allocations: 373.8 kB / 1.467 GB, free: 10.58 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/1.264, allocations: 29.64 kB / 1.467 GB, free: 10.55 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/1.264, allocations: 167.9 kB / 1.468 GB, free: 10.38 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-06/1.264, allocations: 7.938 kB / 1.468 GB, free: 10.37 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/1.264, allocations: 25.66 kB / 1.468 GB, free: 10.34 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001639/1.264, allocations: 334.8 kB / 1.468 GB, free: 10 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/1.264, allocations: 4 kB / 1.468 GB, free: 10 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/1.264, allocations: 36.28 kB / 1.468 GB, free: 9.949 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.158e-05/1.264, allocations: 44.23 kB / 1.468 GB, free: 9.891 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.264, allocations: 4 kB / 1.468 GB, free: 9.887 MB / 1.154 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001719/1.264, allocations: 93.31 kB / 1.468 GB, free: 9.789 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.264, allocations: 10.19 kB / 1.468 GB, free: 9.781 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.264, allocations: 4 kB / 1.468 GB, free: 9.777 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.264, allocations: 0 / 1.468 GB, free: 9.777 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/1.265, allocations: 11.98 kB / 1.468 GB, free: 9.766 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.265, allocations: 4 kB / 1.468 GB, free: 9.762 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.43e-05/1.265, allocations: 27.73 kB / 1.468 GB, free: 9.734 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/1.265, allocations: 128 / 1.468 GB, free: 9.734 MB / 1.154 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.0001596/1.265, allocations: 217 kB / 1.468 GB, free: 9.512 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-05/1.265, allocations: 132.8 kB / 1.469 GB, free: 9.375 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.051e-05/1.265, allocations: 131 kB / 1.469 GB, free: 9.238 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.439e-05/1.265, allocations: 184.2 kB / 1.469 GB, free: 9.051 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.029e-05/1.265, allocations: 180.2 kB / 1.469 GB, free: 8.867 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.411e-05/1.265, allocations: 176.3 kB / 1.469 GB, free: 8.688 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/1.266, allocations: 0.4894 MB / 1.47 GB, free: 8.141 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.533e-05/1.266, allocations: 109 kB / 1.47 GB, free: 8.027 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/1.266, allocations: 108.9 kB / 1.47 GB, free: 7.914 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.186e-05/1.266, allocations: 176.3 kB / 1.47 GB, free: 7.734 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.709e-05/1.266, allocations: 184.2 kB / 1.47 GB, free: 7.547 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-05/1.266, allocations: 180.2 kB / 1.47 GB, free: 7.363 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.958e-05/1.266, allocations: 176.3 kB / 1.471 GB, free: 7.184 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/1.266, allocations: 339.5 kB / 1.471 GB, free: 6.828 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/1.266, allocations: 209.9 kB / 1.471 GB, free: 6.598 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.266, allocations: 184.2 kB / 1.471 GB, free: 6.41 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/1.267, allocations: 105 kB / 1.471 GB, free: 6.301 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/1.267, allocations: 184.2 kB / 1.472 GB, free: 6.113 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.307e-05/1.267, allocations: 105 kB / 1.472 GB, free: 6.004 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000289/1.267, allocations: 271.1 kB / 1.472 GB, free: 5.738 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.267, allocations: 0 / 1.472 GB, free: 5.738 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002768/1.267, allocations: 31.94 kB / 1.472 GB, free: 5.707 MB / 1.154 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.0005186/1.268, allocations: 0.8441 MB / 1.473 GB, free: 4.836 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 8.667e-05/1.268, allocations: 15.94 kB / 1.473 GB, free: 4.82 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.268, allocations: 0 / 1.473 GB, free: 4.82 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-06/1.268, allocations: 7.938 kB / 1.473 GB, free: 4.812 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008668/1.269, allocations: 0.5532 MB / 1.473 GB, free: 4.258 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/1.272, allocations: 2.694 MB / 1.476 GB, free: 1.465 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/1.272, allocations: 0.7558 MB / 1.477 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000105/1.272, allocations: 30.97 kB / 1.477 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/1.272, allocations: 71.42 kB / 1.477 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of SimCode: time 3.2e-07/1.272, allocations: 4 kB / 1.477 GB, free: 0.582 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/1.297, allocations: 5.985 MB / 1.483 GB, free: 10.78 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.89/10.19, allocations: 11.75 kB / 1.483 GB, free: 10.77 MB / 1.17 GB " [Timeout remaining time 290] (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: 16.42171683703782]