Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.001279/0.001279, 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.001443/0.001443, allocations: 218 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8 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.717/2.717, allocations: 476.7 MB / 0.7714 GB, free: 4.293 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.InletToAirDryAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.001979/0.001979, allocations: 61.22 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3368, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.2091/0.5459, allocations: 151.6 MB / 1.432 GB, free: 3.574 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006858/0.5527, allocations: 4.769 MB / 1.437 GB, free: 14.79 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.5531, allocations: 7.938 kB / 1.437 GB, free: 14.79 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006085/0.5537, allocations: 170.8 kB / 1.437 GB, free: 14.62 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004794/0.5542, allocations: 87.45 kB / 1.437 GB, free: 14.53 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.5544, allocations: 71.8 kB / 1.437 GB, free: 14.46 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0007046/0.5551, allocations: 302.8 kB / 1.438 GB, free: 14.16 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.5555, allocations: 103.8 kB / 1.438 GB, free: 14.06 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/0.5559, allocations: 115.5 kB / 1.438 GB, free: 13.95 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004112/0.5563, allocations: 151.4 kB / 1.438 GB, free: 13.8 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.5563, allocations: 16 kB / 1.438 GB, free: 13.79 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/0.5564, allocations: 20 kB / 1.438 GB, free: 13.77 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.5565, allocations: 67.75 kB / 1.438 GB, free: 13.7 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.5567, allocations: 107.5 kB / 1.438 GB, free: 13.59 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.5572, allocations: 238.8 kB / 1.438 GB, free: 13.36 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5572, allocations: 0 / 1.438 GB, free: 13.36 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5572, allocations: 0 / 1.438 GB, free: 13.36 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.5572, allocations: 0 / 1.438 GB, free: 13.36 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007578/0.558, allocations: 425.7 kB / 1.439 GB, free: 12.91 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.558, allocations: 12.03 kB / 1.439 GB, free: 12.9 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.703e-05/0.558, allocations: 8.625 kB / 1.439 GB, free: 12.89 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.434e-05/0.5581, allocations: 62.66 kB / 1.439 GB, free: 12.82 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/0.5582, allocations: 24.8 kB / 1.439 GB, free: 12.8 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005557/0.5587, allocations: 202.1 kB / 1.439 GB, free: 12.58 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.5588, allocations: 16.81 kB / 1.439 GB, free: 12.56 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.5588, allocations: 28.11 kB / 1.439 GB, free: 12.54 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006471/0.5595, allocations: 304.9 kB / 1.439 GB, free: 12.18 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.5595, allocations: 7.938 kB / 1.439 GB, free: 12.18 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.5595, allocations: 4 kB / 1.439 GB, free: 12.17 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.5595, allocations: 8 kB / 1.439 GB, free: 12.16 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.5599, allocations: 119.8 kB / 1.439 GB, free: 12.05 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.5619, allocations: 1.935 MB / 1.441 GB, free: 10.01 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.562, allocations: 169.1 kB / 1.442 GB, free: 9.836 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.5621, allocations: 88.02 kB / 1.442 GB, free: 9.746 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.5621, allocations: 75.28 kB / 1.442 GB, free: 9.672 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.715e-05/0.5622, allocations: 109.8 kB / 1.442 GB, free: 9.555 MB / 1.139 GB Notification: Performance of pre-optimization done (n=0): time 1.894e-06/0.5622, allocations: 0 / 1.442 GB, free: 9.555 MB / 1.139 GB Notification: Performance of matching and sorting (n=0): time 0.0001111/0.5623, allocations: 53.5 kB / 1.442 GB, free: 9.496 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.5624, allocations: 134.7 kB / 1.442 GB, free: 9.352 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004073/0.5628, allocations: 324.5 kB / 1.442 GB, free: 9.023 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.5628, allocations: 25.7 kB / 1.442 GB, free: 8.992 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.563, allocations: 163.9 kB / 1.442 GB, free: 8.828 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.436e-06/0.563, allocations: 0 / 1.442 GB, free: 8.828 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.5631, allocations: 21.67 kB / 1.442 GB, free: 8.801 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002487/0.5633, allocations: 338.8 kB / 1.443 GB, free: 8.461 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.934e-05/0.5634, allocations: 19.92 kB / 1.443 GB, free: 8.441 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.577e-05/0.5634, allocations: 50.88 kB / 1.443 GB, free: 8.367 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.5636, allocations: 78.77 kB / 1.443 GB, free: 8.266 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5636, allocations: 0 / 1.443 GB, free: 8.266 MB / 1.139 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001962/0.5638, allocations: 105.5 kB / 1.443 GB, free: 8.156 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5638, allocations: 11.94 kB / 1.443 GB, free: 8.145 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.5638, allocations: 160 / 1.443 GB, free: 8.145 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.5638, allocations: 7.984 kB / 1.443 GB, free: 8.137 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.5639, allocations: 19.92 kB / 1.443 GB, free: 8.117 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.5639, allocations: 3.984 kB / 1.443 GB, free: 8.113 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.135e-05/0.564, allocations: 27.73 kB / 1.443 GB, free: 8.086 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.564, allocations: 7.938 kB / 1.443 GB, free: 8.078 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001569/0.5642, allocations: 217.2 kB / 1.443 GB, free: 7.855 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/0.5642, allocations: 132.7 kB / 1.443 GB, free: 7.719 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.072e-05/0.5643, allocations: 126 kB / 1.444 GB, free: 7.59 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-05/0.5644, allocations: 184.2 kB / 1.444 GB, free: 7.402 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-05/0.5645, allocations: 176.3 kB / 1.444 GB, free: 7.223 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.529e-05/0.5646, allocations: 180.2 kB / 1.444 GB, free: 7.039 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.5649, allocations: 452.2 kB / 1.445 GB, free: 6.547 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-05/0.565, allocations: 105 kB / 1.445 GB, free: 6.438 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.565, allocations: 104.9 kB / 1.445 GB, free: 6.328 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.729e-05/0.5651, allocations: 184.4 kB / 1.445 GB, free: 6.141 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.713e-05/0.5652, allocations: 184.3 kB / 1.445 GB, free: 5.953 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.582e-05/0.5653, allocations: 180.2 kB / 1.445 GB, free: 5.77 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.367e-05/0.5653, allocations: 180.3 kB / 1.445 GB, free: 5.586 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.5656, allocations: 335.6 kB / 1.446 GB, free: 5.234 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.5657, allocations: 124.8 kB / 1.446 GB, free: 5.105 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.5658, allocations: 188.1 kB / 1.446 GB, free: 4.914 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.5659, allocations: 109 kB / 1.446 GB, free: 4.801 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/0.566, allocations: 180.2 kB / 1.446 GB, free: 4.617 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.566, allocations: 104.9 kB / 1.446 GB, free: 4.508 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002707/0.5663, allocations: 235 kB / 1.447 GB, free: 4.277 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5663, allocations: 0 / 1.447 GB, free: 4.277 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003037/0.5666, allocations: 32 kB / 1.447 GB, free: 4.246 MB / 1.139 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.0005731/0.5672, allocations: 0.828 MB / 1.447 GB, free: 3.391 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.5673, allocations: 27.92 kB / 1.447 GB, free: 3.363 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5673, allocations: 0 / 1.447 GB, free: 3.363 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.5673, allocations: 0.5 kB / 1.447 GB, free: 3.363 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008633/0.5682, allocations: 0.5292 MB / 1.448 GB, free: 2.832 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.5711, allocations: 2.514 MB / 1.45 GB, free: 200 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.5715, allocations: 0.7401 MB / 1.451 GB, free: 15.43 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.5716, allocations: 34.27 kB / 1.451 GB, free: 15.39 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.5717, allocations: 63.41 kB / 1.451 GB, free: 15.33 MB / 1.154 GB Notification: Performance of SimCode: time 7.11e-07/0.5717, allocations: 0 / 1.451 GB, free: 15.33 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.5996, allocations: 4.986 MB / 1.456 GB, free: 10.54 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.05, allocations: 3.938 kB / 1.456 GB, free: 10.54 MB / 1.154 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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: 18.67215044196928]