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.001666/0.001666, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001476/0.001476, allocations: 214.9 kB / 23.03 MB, free: 4.922 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.296/3.296, allocations: 0.49 GB / 0.7959 GB, free: 35.4 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.001988/0.001988, allocations: 69.34 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3944, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2/0.5944, allocations: 153.6 MB / 1.477 GB, free: 7.348 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.6045, allocations: 8.651 MB / 1.485 GB, free: 14.67 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003642/0.6048, allocations: 15.88 kB / 1.485 GB, free: 14.65 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.6055, allocations: 190.7 kB / 1.485 GB, free: 14.46 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.6058, allocations: 95.31 kB / 1.485 GB, free: 14.37 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.606, allocations: 67.91 kB / 1.485 GB, free: 14.3 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.6064, allocations: 330.6 kB / 1.486 GB, free: 13.98 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.6067, allocations: 145 kB / 1.486 GB, free: 13.84 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003689/0.6071, allocations: 171.4 kB / 1.486 GB, free: 13.67 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.6073, allocations: 123.4 kB / 1.486 GB, free: 13.55 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.6073, allocations: 24 kB / 1.486 GB, free: 13.52 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 3.971e-05/0.6073, allocations: 20 kB / 1.486 GB, free: 13.5 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 9.779e-05/0.6074, allocations: 75.75 kB / 1.486 GB, free: 13.43 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.6076, allocations: 107.5 kB / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.6079, allocations: 302.6 kB / 1.487 GB, free: 13.03 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.6079, allocations: 3.984 kB / 1.487 GB, free: 13.02 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6079, allocations: 0 / 1.487 GB, free: 13.02 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.6079, allocations: 0 / 1.487 GB, free: 13.02 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.0005614/0.6085, allocations: 445.7 kB / 1.487 GB, free: 12.56 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.6085, allocations: 12.03 kB / 1.487 GB, free: 12.55 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.864e-05/0.6086, allocations: 4.656 kB / 1.487 GB, free: 12.54 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.66e-05/0.6086, allocations: 70.47 kB / 1.487 GB, free: 12.46 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.6087, allocations: 31.75 kB / 1.487 GB, free: 12.43 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.6091, allocations: 213.6 kB / 1.487 GB, free: 12.2 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.6091, allocations: 16.66 kB / 1.487 GB, free: 12.18 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.6092, allocations: 32 kB / 1.487 GB, free: 12.15 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.6097, allocations: 325.1 kB / 1.488 GB, free: 11.79 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.6097, allocations: 4 kB / 1.488 GB, free: 11.79 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.6097, allocations: 12 kB / 1.488 GB, free: 11.77 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.6097, allocations: 7.938 kB / 1.488 GB, free: 11.77 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.61, allocations: 143.8 kB / 1.488 GB, free: 11.62 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.6115, allocations: 1.737 MB / 1.49 GB, free: 9.797 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.6116, allocations: 181 kB / 1.49 GB, free: 9.609 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.6116, allocations: 84.23 kB / 1.49 GB, free: 9.523 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.6117, allocations: 79.22 kB / 1.49 GB, free: 9.445 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.651e-05/0.6117, allocations: 109.8 kB / 1.49 GB, free: 9.328 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.6117, allocations: 4 kB / 1.49 GB, free: 9.324 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001022/0.6118, allocations: 57.45 kB / 1.49 GB, free: 9.262 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.6119, allocations: 126.7 kB / 1.49 GB, free: 9.125 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.6123, allocations: 377.7 kB / 1.491 GB, free: 8.75 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.6124, allocations: 25.7 kB / 1.491 GB, free: 8.719 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.6125, allocations: 167.9 kB / 1.491 GB, free: 8.551 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.6125, allocations: 0 / 1.491 GB, free: 8.551 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.6126, allocations: 21.7 kB / 1.491 GB, free: 8.523 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.6127, allocations: 334.8 kB / 1.491 GB, free: 8.188 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.6127, allocations: 8 kB / 1.491 GB, free: 8.18 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.729e-05/0.6128, allocations: 40.23 kB / 1.491 GB, free: 8.125 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.372e-05/0.6128, allocations: 48.22 kB / 1.491 GB, free: 8.062 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.6128, allocations: 0 / 1.491 GB, free: 8.062 MB / 1.186 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001667/0.613, allocations: 93.31 kB / 1.491 GB, free: 7.965 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.613, allocations: 8 kB / 1.491 GB, free: 7.957 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.613, allocations: 0 / 1.491 GB, free: 7.957 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.6131, allocations: 0 / 1.491 GB, free: 7.957 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.306e-05/0.6131, allocations: 8 kB / 1.491 GB, free: 7.949 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.6131, allocations: 8.156 kB / 1.491 GB, free: 7.941 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.6132, allocations: 23.73 kB / 1.491 GB, free: 7.918 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.6132, allocations: 4 kB / 1.491 GB, free: 7.914 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.000177/0.6134, allocations: 225.5 kB / 1.492 GB, free: 7.684 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-05/0.6135, allocations: 124.8 kB / 1.492 GB, free: 7.555 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.296e-05/0.6136, allocations: 130.8 kB / 1.492 GB, free: 7.418 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.659e-05/0.6137, allocations: 184.3 kB / 1.492 GB, free: 7.23 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.702e-05/0.6137, allocations: 180.3 kB / 1.492 GB, free: 7.047 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.377e-05/0.6138, allocations: 180.2 kB / 1.492 GB, free: 6.863 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.6142, allocations: 452.2 kB / 1.493 GB, free: 6.371 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.575e-05/0.6142, allocations: 112.9 kB / 1.493 GB, free: 6.254 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.6143, allocations: 101 kB / 1.493 GB, free: 6.148 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.449e-05/0.6144, allocations: 180.3 kB / 1.493 GB, free: 5.965 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-05/0.6145, allocations: 188.2 kB / 1.493 GB, free: 5.773 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.304e-05/0.6145, allocations: 180.2 kB / 1.493 GB, free: 5.59 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.765e-05/0.6146, allocations: 180.2 kB / 1.494 GB, free: 5.406 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.6148, allocations: 335.5 kB / 1.494 GB, free: 5.055 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.6149, allocations: 140.7 kB / 1.494 GB, free: 4.91 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.6151, allocations: 176.3 kB / 1.494 GB, free: 4.73 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.6152, allocations: 112.9 kB / 1.494 GB, free: 4.613 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/0.6153, allocations: 176.3 kB / 1.495 GB, free: 4.434 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.549e-05/0.6153, allocations: 105.1 kB / 1.495 GB, free: 4.324 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002909/0.6156, allocations: 271.2 kB / 1.495 GB, free: 4.059 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6156, allocations: 0 / 1.495 GB, free: 4.059 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002508/0.6159, allocations: 31.94 kB / 1.495 GB, free: 4.027 MB / 1.186 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.0005392/0.6164, allocations: 0.8359 MB / 1.496 GB, free: 3.16 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 9.133e-05/0.6165, allocations: 11.94 kB / 1.496 GB, free: 3.148 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6165, allocations: 0 / 1.496 GB, free: 3.148 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 3.656e-06/0.6165, allocations: 4.312 kB / 1.496 GB, free: 3.145 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009319/0.6174, allocations: 0.5636 MB / 1.496 GB, free: 2.582 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.6206, allocations: 2.691 MB / 1.499 GB, free: 15.79 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.6207, allocations: 142.2 kB / 1.499 GB, free: 15.63 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.6208, allocations: 34.95 kB / 1.499 GB, free: 15.6 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.6209, allocations: 71.42 kB / 1.499 GB, free: 15.53 MB / 1.201 GB Notification: Performance of SimCode: time 2.7e-07/0.6209, allocations: 0 / 1.499 GB, free: 15.53 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.6506, allocations: 6.484 MB / 1.506 GB, free: 9.328 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.36, allocations: 18.11 kB / 1.506 GB, free: 9.312 MB / 1.201 GB " [Timeout remaining time 287] (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: 19.437340850941837]