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.00132/0.00132, allocations: 98.08 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.001526/0.001526, allocations: 210.5 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.45/1.45, 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 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.126/3.126, allocations: 0.49 GB / 0.7959 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.002073/0.002073, allocations: 63.06 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3411, allocations: 176.1 MB / 1.327 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2268/0.5678, allocations: 177.8 MB / 1.5 GB, free: 15.48 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.5796, allocations: 9.666 MB / 1.51 GB, free: 5.781 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003474/0.5799, allocations: 11.94 kB / 1.51 GB, free: 5.77 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005929/0.5805, allocations: 186.7 kB / 1.51 GB, free: 5.586 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.5808, allocations: 99.3 kB / 1.51 GB, free: 5.488 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.581, allocations: 71.78 kB / 1.51 GB, free: 5.418 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.5815, allocations: 326.7 kB / 1.51 GB, free: 5.098 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.5818, allocations: 145.2 kB / 1.511 GB, free: 4.953 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003464/0.5822, allocations: 171.4 kB / 1.511 GB, free: 4.785 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.5823, allocations: 127.3 kB / 1.511 GB, free: 4.66 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.5824, allocations: 24 kB / 1.511 GB, free: 4.637 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 4.166e-05/0.5824, allocations: 20 kB / 1.511 GB, free: 4.617 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 8.945e-05/0.5825, allocations: 75.75 kB / 1.511 GB, free: 4.543 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.5826, allocations: 127.4 kB / 1.511 GB, free: 4.418 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.5831, allocations: 298.5 kB / 1.511 GB, free: 4.125 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.5831, allocations: 3.984 kB / 1.511 GB, free: 4.121 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5831, allocations: 4 kB / 1.511 GB, free: 4.117 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.5831, allocations: 0 / 1.511 GB, free: 4.117 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.00058/0.5836, allocations: 445.6 kB / 1.512 GB, free: 3.652 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.5837, allocations: 12.03 kB / 1.512 GB, free: 3.641 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.652e-05/0.5837, allocations: 8.656 kB / 1.512 GB, free: 3.633 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.465e-05/0.5838, allocations: 62.53 kB / 1.512 GB, free: 3.562 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.5838, allocations: 35.75 kB / 1.512 GB, free: 3.527 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.5843, allocations: 216.7 kB / 1.512 GB, free: 3.289 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.5843, allocations: 20.66 kB / 1.512 GB, free: 3.27 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.5844, allocations: 24 kB / 1.512 GB, free: 3.246 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/0.5849, allocations: 329.2 kB / 1.512 GB, free: 2.879 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.5849, allocations: 3.938 kB / 1.512 GB, free: 2.875 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.585, allocations: 12 kB / 1.512 GB, free: 2.863 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.585, allocations: 11.94 kB / 1.512 GB, free: 2.852 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.5852, allocations: 139.7 kB / 1.513 GB, free: 2.715 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.5867, allocations: 1.776 MB / 1.514 GB, free: 0.8477 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 9.597e-05/0.5868, allocations: 177.1 kB / 1.515 GB, free: 0.6641 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.5869, allocations: 84.12 kB / 1.515 GB, free: 0.5781 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.5869, allocations: 75.28 kB / 1.515 GB, free: 0.5039 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.79e-05/0.587, allocations: 109.8 kB / 1.515 GB, free: 396 kB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.587, allocations: 0 / 1.515 GB, free: 396 kB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 9.976e-05/0.5871, allocations: 57.45 kB / 1.515 GB, free: 332 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.5872, allocations: 134.7 kB / 1.515 GB, free: 184 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.5876, allocations: 369.8 kB / 1.515 GB, free: 15.81 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.5876, allocations: 29.7 kB / 1.515 GB, free: 15.77 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.5878, allocations: 163.9 kB / 1.516 GB, free: 15.61 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.2e-06/0.5878, allocations: 7.891 kB / 1.516 GB, free: 15.61 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.5878, allocations: 17.72 kB / 1.516 GB, free: 15.58 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.588, allocations: 334.8 kB / 1.516 GB, free: 15.25 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.588, allocations: 8 kB / 1.516 GB, free: 15.24 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.588, allocations: 32.3 kB / 1.516 GB, free: 15.19 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.104e-05/0.5881, allocations: 56.16 kB / 1.516 GB, free: 15.12 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5881, allocations: 0 / 1.516 GB, free: 15.12 MB / 1.217 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001729/0.5883, allocations: 89.38 kB / 1.516 GB, free: 15.03 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.5883, allocations: 4 kB / 1.516 GB, free: 15.02 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.5883, allocations: 4 kB / 1.516 GB, free: 15.02 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.5883, allocations: 0 / 1.516 GB, free: 15.02 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.5884, allocations: 16.06 kB / 1.516 GB, free: 15 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5884, allocations: 0 / 1.516 GB, free: 15 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.567e-05/0.5885, allocations: 27.89 kB / 1.516 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.5885, allocations: 8 kB / 1.516 GB, free: 14.97 MB / 1.217 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.0001608/0.5886, allocations: 217.6 kB / 1.516 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.5887, allocations: 132.8 kB / 1.516 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.324e-05/0.5888, allocations: 126.8 kB / 1.517 GB, free: 14.48 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-05/0.5889, allocations: 180.3 kB / 1.517 GB, free: 14.29 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001369/0.589, allocations: 192.2 kB / 1.517 GB, free: 14.1 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.861e-05/0.5891, allocations: 184.2 kB / 1.517 GB, free: 13.91 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.5895, allocations: 464.1 kB / 1.518 GB, free: 13.41 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.474e-05/0.5896, allocations: 108.9 kB / 1.518 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.5896, allocations: 101 kB / 1.518 GB, free: 13.19 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.833e-05/0.5897, allocations: 180.2 kB / 1.518 GB, free: 13 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.116e-05/0.5898, allocations: 180.4 kB / 1.518 GB, free: 12.82 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.438e-05/0.5899, allocations: 184.2 kB / 1.518 GB, free: 12.63 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.961e-05/0.5899, allocations: 188.1 kB / 1.518 GB, free: 12.44 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.5901, allocations: 335.5 kB / 1.519 GB, free: 12.09 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.5903, allocations: 136.8 kB / 1.519 GB, free: 11.95 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.5904, allocations: 188.2 kB / 1.519 GB, free: 11.76 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.5905, allocations: 101 kB / 1.519 GB, free: 11.65 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.5906, allocations: 180.2 kB / 1.519 GB, free: 11.47 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.505e-05/0.5906, allocations: 104.9 kB / 1.519 GB, free: 11.36 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003083/0.5909, allocations: 271.2 kB / 1.52 GB, free: 11.09 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5909, allocations: 0 / 1.52 GB, free: 11.09 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0002793/0.5912, allocations: 32 kB / 1.52 GB, free: 11.06 MB / 1.217 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.0005416/0.5918, allocations: 0.8359 MB / 1.521 GB, free: 10.2 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 9.019e-05/0.5918, allocations: 16.19 kB / 1.521 GB, free: 10.18 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5918, allocations: 4.062 kB / 1.521 GB, free: 10.18 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.5918, allocations: 0 / 1.521 GB, free: 10.18 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008657/0.5927, allocations: 0.5438 MB / 1.521 GB, free: 9.629 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.5958, allocations: 2.687 MB / 1.524 GB, free: 6.844 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.5963, allocations: 0.7558 MB / 1.524 GB, free: 6.062 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.5965, allocations: 34.95 kB / 1.524 GB, free: 6.027 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.5966, allocations: 79.41 kB / 1.525 GB, free: 5.949 MB / 1.217 GB Notification: Performance of SimCode: time 5.51e-07/0.5966, allocations: 0 / 1.525 GB, free: 5.949 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.6252, allocations: 6.079 MB / 1.53 GB, free: 76 kB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.31, allocations: 8.047 kB / 1.53 GB, free: 68 kB / 1.217 GB " [Timeout remaining time 288] (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: 18.977322420978453]