Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001877/0.001877, allocations: 115.4 kB / 17.16 MB, free: 5.895 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.00224/0.00224, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.504/1.504, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.986/2.986, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_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.001994/0.001994, allocations: 75.86 kB / 1.165 GB, free: 444 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9011/0.9031, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1937/1.097, allocations: 151.4 MB / 1.488 GB, free: 14.48 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006846/1.104, allocations: 4.705 MB / 1.493 GB, free: 10.7 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004554/1.104, allocations: 10.5 kB / 1.493 GB, free: 10.69 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006614/1.105, allocations: 168.7 kB / 1.493 GB, free: 10.54 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0004963/1.105, allocations: 99.05 kB / 1.493 GB, free: 10.46 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/1.106, allocations: 60.95 kB / 1.493 GB, free: 10.41 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000497/1.106, allocations: 298.3 kB / 1.493 GB, free: 10.24 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/1.106, allocations: 109.8 kB / 1.493 GB, free: 10.17 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/1.107, allocations: 113.6 kB / 1.493 GB, free: 10.11 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/1.107, allocations: 166.6 kB / 1.494 GB, free: 10.01 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/1.107, allocations: 16.69 kB / 1.494 GB, free: 10.01 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 3.825e-05/1.107, allocations: 15.44 kB / 1.494 GB, free: 10.01 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 9.93e-05/1.107, allocations: 72.03 kB / 1.494 GB, free: 9.957 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/1.107, allocations: 98.33 kB / 1.494 GB, free: 9.895 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003637/1.108, allocations: 242.2 kB / 1.494 GB, free: 9.719 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.108, allocations: 1.25 kB / 1.494 GB, free: 9.719 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.402e-06/1.108, allocations: 3.938 kB / 1.494 GB, free: 9.715 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.094e-06/1.108, allocations: 0 / 1.494 GB, free: 9.715 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006719/1.108, allocations: 495.3 kB / 1.495 GB, free: 9.242 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.108, allocations: 9.656 kB / 1.495 GB, free: 9.242 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.505e-05/1.108, allocations: 10.94 kB / 1.495 GB, free: 9.238 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.997e-05/1.108, allocations: 61.94 kB / 1.495 GB, free: 9.176 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.759e-05/1.108, allocations: 26.11 kB / 1.495 GB, free: 9.164 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/1.109, allocations: 270.3 kB / 1.495 GB, free: 8.898 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/1.109, allocations: 16.91 kB / 1.495 GB, free: 8.891 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/1.109, allocations: 26.88 kB / 1.495 GB, free: 8.879 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/1.109, allocations: 306.5 kB / 1.495 GB, free: 8.605 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.109, allocations: 0.9375 kB / 1.495 GB, free: 8.605 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/1.109, allocations: 16.28 kB / 1.495 GB, free: 8.594 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/1.109, allocations: 6.812 kB / 1.495 GB, free: 8.594 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/1.11, allocations: 123.6 kB / 1.495 GB, free: 8.531 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/1.111, allocations: 1.974 MB / 1.497 GB, free: 6.586 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/1.112, allocations: 166.2 kB / 1.497 GB, free: 6.414 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/1.112, allocations: 80.14 kB / 1.498 GB, free: 6.332 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/1.112, allocations: 75.28 kB / 1.498 GB, free: 6.258 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.344e-05/1.112, allocations: 118.9 kB / 1.498 GB, free: 6.133 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/1.112, allocations: 1.062 kB / 1.498 GB, free: 6.133 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001198/1.112, allocations: 52.03 kB / 1.498 GB, free: 6.086 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/1.112, allocations: 127.9 kB / 1.498 GB, free: 5.949 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/1.112, allocations: 330.9 kB / 1.498 GB, free: 5.738 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/1.112, allocations: 25.7 kB / 1.498 GB, free: 5.707 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/1.113, allocations: 165.8 kB / 1.498 GB, free: 5.555 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.685e-06/1.113, allocations: 4 kB / 1.498 GB, free: 5.551 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/1.113, allocations: 27.7 kB / 1.498 GB, free: 5.523 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.113, allocations: 333 kB / 1.499 GB, free: 5.195 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.24e-05/1.113, allocations: 8.938 kB / 1.499 GB, free: 5.191 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.27e-05/1.113, allocations: 58.36 kB / 1.499 GB, free: 5.117 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/1.113, allocations: 67.69 kB / 1.499 GB, free: 5.039 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.113, allocations: 1.375 kB / 1.499 GB, free: 5.039 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001966/1.113, allocations: 104.7 kB / 1.499 GB, free: 4.969 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/1.113, allocations: 11.41 kB / 1.499 GB, free: 4.965 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.113, allocations: 6.359 kB / 1.499 GB, free: 4.961 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.113, allocations: 2.312 kB / 1.499 GB, free: 4.961 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/1.113, allocations: 15.47 kB / 1.499 GB, free: 4.957 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.113, allocations: 3.406 kB / 1.499 GB, free: 4.957 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.103e-05/1.113, allocations: 27.02 kB / 1.499 GB, free: 4.938 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/1.113, allocations: 7.719 kB / 1.499 GB, free: 4.934 MB / 1.17 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.0001665/1.114, allocations: 214.9 kB / 1.499 GB, free: 4.727 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.521e-05/1.114, allocations: 131.9 kB / 1.499 GB, free: 4.602 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.619e-05/1.114, allocations: 126.5 kB / 1.499 GB, free: 4.477 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.812e-05/1.114, allocations: 181.9 kB / 1.5 GB, free: 4.293 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.503e-05/1.114, allocations: 184.2 kB / 1.5 GB, free: 4.105 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.36e-05/1.114, allocations: 177.8 kB / 1.5 GB, free: 3.926 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/1.114, allocations: 479.5 kB / 1.5 GB, free: 3.43 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.935e-05/1.114, allocations: 105 kB / 1.501 GB, free: 3.32 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/1.114, allocations: 102.3 kB / 1.501 GB, free: 3.215 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.985e-05/1.115, allocations: 197.6 kB / 1.501 GB, free: 3.016 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.935e-05/1.115, allocations: 185.6 kB / 1.501 GB, free: 2.828 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.797e-05/1.115, allocations: 188.2 kB / 1.501 GB, free: 2.637 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.962e-05/1.115, allocations: 177.3 kB / 1.501 GB, free: 2.457 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/1.115, allocations: 325.3 kB / 1.502 GB, free: 2.129 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/1.115, allocations: 213.7 kB / 1.502 GB, free: 1.902 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.115, allocations: 190.3 kB / 1.502 GB, free: 1.711 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/1.115, allocations: 101 kB / 1.502 GB, free: 1.605 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/1.116, allocations: 185.4 kB / 1.502 GB, free: 1.418 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/1.116, allocations: 102.3 kB / 1.502 GB, free: 1.312 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002803/1.116, allocations: 240.8 kB / 1.503 GB, free: 1.156 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.116, allocations: 0 / 1.503 GB, free: 1.156 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002862/1.116, allocations: 32.45 kB / 1.503 GB, free: 1.148 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.0005393/1.117, allocations: 0.8309 MB / 1.504 GB, free: 300 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001381/1.117, allocations: 28.38 kB / 1.504 GB, free: 272 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.117, allocations: 0 / 1.504 GB, free: 272 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/1.117, allocations: 0 / 1.504 GB, free: 272 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008283/1.118, allocations: 0.5198 MB / 1.504 GB, free: 15.74 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/1.121, allocations: 2.513 MB / 1.507 GB, free: 13.11 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/1.121, allocations: 0.744 MB / 1.507 GB, free: 12.34 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001137/1.121, allocations: 30.22 kB / 1.507 GB, free: 12.31 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.953e-05/1.121, allocations: 55.42 kB / 1.507 GB, free: 12.26 MB / 1.186 GB Notification: Performance of SimCode: time 1.062e-06/1.121, allocations: 4 kB / 1.507 GB, free: 12.25 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/1.145, allocations: 4.873 MB / 1.512 GB, free: 7.551 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.834/9.979, allocations: 13.25 kB / 1.512 GB, free: 7.543 MB / 1.186 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.459223076992203]