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.001761/0.001761, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.002144/0.002144, allocations: 214 kB / 23 MB, free: 5.113 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.027 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 3.311/3.311, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") [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.002038/0.002038, allocations: 66.55 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3962, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1901/0.5863, allocations: 151.6 MB / 1.502 GB, free: 15.72 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005837/0.5921, allocations: 4.769 MB / 1.507 GB, free: 10.94 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003834/0.5925, allocations: 15.88 kB / 1.507 GB, free: 10.92 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006023/0.5931, allocations: 158.9 kB / 1.507 GB, free: 10.77 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.5935, allocations: 91.38 kB / 1.507 GB, free: 10.68 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.5937, allocations: 67.86 kB / 1.507 GB, free: 10.61 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.5942, allocations: 302.8 kB / 1.507 GB, free: 10.31 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.5944, allocations: 104.8 kB / 1.508 GB, free: 10.21 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.5946, allocations: 115.6 kB / 1.508 GB, free: 10.1 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.5949, allocations: 159.4 kB / 1.508 GB, free: 9.941 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.5949, allocations: 16 kB / 1.508 GB, free: 9.926 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 4.157e-05/0.595, allocations: 16 kB / 1.508 GB, free: 9.91 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 9.472e-05/0.5951, allocations: 67.81 kB / 1.508 GB, free: 9.844 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.5952, allocations: 103.4 kB / 1.508 GB, free: 9.742 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.5955, allocations: 234.9 kB / 1.508 GB, free: 9.512 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5955, allocations: 0 / 1.508 GB, free: 9.512 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5955, allocations: 7.938 kB / 1.508 GB, free: 9.504 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.5955, allocations: 0 / 1.508 GB, free: 9.504 MB / 1.201 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.0005298/0.596, allocations: 423.5 kB / 1.509 GB, free: 9.062 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.5961, allocations: 12.03 kB / 1.509 GB, free: 9.051 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.5961, allocations: 32.73 kB / 1.509 GB, free: 9.02 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.5966, allocations: 207.1 kB / 1.509 GB, free: 8.793 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.5966, allocations: 16.81 kB / 1.509 GB, free: 8.777 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.5966, allocations: 24.38 kB / 1.509 GB, free: 8.754 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.597, allocations: 301 kB / 1.509 GB, free: 8.402 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5971, allocations: 0 / 1.509 GB, free: 8.402 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.5971, allocations: 12 kB / 1.509 GB, free: 8.391 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.5971, allocations: 8 kB / 1.509 GB, free: 8.383 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.5973, allocations: 127.7 kB / 1.509 GB, free: 8.258 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.5988, allocations: 1.931 MB / 1.511 GB, free: 6.227 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.5989, allocations: 165.1 kB / 1.511 GB, free: 6.055 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.44e-05/0.599, allocations: 80.14 kB / 1.511 GB, free: 5.973 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.599, allocations: 79.31 kB / 1.512 GB, free: 5.895 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.871e-05/0.5991, allocations: 117.8 kB / 1.512 GB, free: 5.77 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.5991, allocations: 0 / 1.512 GB, free: 5.77 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 9.867e-05/0.5992, allocations: 61.42 kB / 1.512 GB, free: 5.703 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.5992, allocations: 126.7 kB / 1.512 GB, free: 5.566 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.5996, allocations: 328.5 kB / 1.512 GB, free: 5.23 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.5996, allocations: 25.7 kB / 1.512 GB, free: 5.199 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.5998, allocations: 167.8 kB / 1.512 GB, free: 5.031 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-06/0.5998, allocations: 4 kB / 1.512 GB, free: 5.027 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.5998, allocations: 21.72 kB / 1.512 GB, free: 5 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6, allocations: 334.8 kB / 1.513 GB, free: 4.664 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.6, allocations: 8 kB / 1.513 GB, free: 4.656 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.359e-05/0.6, allocations: 54.86 kB / 1.513 GB, free: 4.578 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.165e-05/0.6001, allocations: 70.75 kB / 1.513 GB, free: 4.484 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6001, allocations: 4 kB / 1.513 GB, free: 4.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001811/0.6003, allocations: 105.3 kB / 1.513 GB, free: 4.371 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.6003, allocations: 8 kB / 1.513 GB, free: 4.363 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6003, allocations: 0 / 1.513 GB, free: 4.363 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.6003, allocations: 7.938 kB / 1.513 GB, free: 4.355 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.969e-05/0.6004, allocations: 12 kB / 1.513 GB, free: 4.344 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.6004, allocations: 4.094 kB / 1.513 GB, free: 4.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.6005, allocations: 31.98 kB / 1.513 GB, free: 4.309 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.6005, allocations: 7.984 kB / 1.513 GB, free: 4.301 MB / 1.201 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.0001531/0.6007, allocations: 217 kB / 1.513 GB, free: 4.078 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.574e-05/0.6008, allocations: 132.8 kB / 1.513 GB, free: 3.941 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.167e-05/0.6008, allocations: 129.8 kB / 1.513 GB, free: 3.805 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-05/0.6009, allocations: 180.3 kB / 1.514 GB, free: 3.621 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-05/0.601, allocations: 184.2 kB / 1.514 GB, free: 3.434 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-05/0.6011, allocations: 176.4 kB / 1.514 GB, free: 3.254 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.6014, allocations: 452.2 kB / 1.514 GB, free: 2.762 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-05/0.6015, allocations: 104.9 kB / 1.514 GB, free: 2.652 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.6015, allocations: 105 kB / 1.515 GB, free: 2.543 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.268e-05/0.6016, allocations: 180.2 kB / 1.515 GB, free: 2.359 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/0.6017, allocations: 192.2 kB / 1.515 GB, free: 2.164 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.857e-05/0.6018, allocations: 184.3 kB / 1.515 GB, free: 1.977 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.882e-05/0.6019, allocations: 184.2 kB / 1.515 GB, free: 1.789 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.602, allocations: 331.6 kB / 1.516 GB, free: 1.441 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.717e-05/0.6021, allocations: 132.8 kB / 1.516 GB, free: 1.305 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.6022, allocations: 180.2 kB / 1.516 GB, free: 1.121 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.6023, allocations: 108.9 kB / 1.516 GB, free: 1.008 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.6024, allocations: 180.3 kB / 1.516 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.6025, allocations: 104.9 kB / 1.516 GB, free: 0.7148 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000257/0.6027, allocations: 239 kB / 1.517 GB, free: 492 kB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6027, allocations: 4 kB / 1.517 GB, free: 488 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002641/0.603, allocations: 31.89 kB / 1.517 GB, free: 456 kB / 1.201 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.000149/0.6032, allocations: 170.5 kB / 1.517 GB, free: 276 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.6033, allocations: 23.92 kB / 1.517 GB, free: 252 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6033, allocations: 0 / 1.517 GB, free: 252 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.6033, allocations: 0.5 kB / 1.517 GB, free: 252 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000744/0.604, allocations: 0.5235 MB / 1.517 GB, free: 15.72 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.6046, allocations: 437.7 kB / 1.518 GB, free: 15.25 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.605, allocations: 0.744 MB / 1.518 GB, free: 14.48 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.6051, allocations: 19.44 kB / 1.518 GB, free: 14.46 MB / 1.217 GB Notification: Performance of SimCode: time 2.7e-07/0.6051, allocations: 0 / 1.518 GB, free: 14.46 MB / 1.217 GB Notification: Performance of Templates: time 0.005025/0.6101, allocations: 2.63 MB / 1.521 GB, free: 11.85 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 800] 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: 12.389246072998503]