Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001701/0.001701, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002224/0.002224, allocations: 216.5 kB / 22.25 MB, free: 5.125 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.965 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.276/3.276, allocations: 0.49 GB / 0.7951 GB, free: 33.38 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.InletToAirDryAirCO2,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",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.001995/0.001995, allocations: 67.97 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3189, allocations: 176.1 MB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1788/0.4977, allocations: 151.6 MB / 1.474 GB, free: 9.645 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006156/0.5038, allocations: 4.765 MB / 1.479 GB, free: 4.859 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.5042, allocations: 7.938 kB / 1.479 GB, free: 4.852 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005893/0.5048, allocations: 170.8 kB / 1.479 GB, free: 4.684 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0004302/0.5052, allocations: 91.45 kB / 1.479 GB, free: 4.594 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.5054, allocations: 71.78 kB / 1.479 GB, free: 4.523 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004838/0.5059, allocations: 298.8 kB / 1.479 GB, free: 4.23 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.5062, allocations: 108.4 kB / 1.479 GB, free: 4.129 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.5064, allocations: 115.5 kB / 1.479 GB, free: 4.016 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.5067, allocations: 155.5 kB / 1.48 GB, free: 3.863 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.5067, allocations: 16 kB / 1.48 GB, free: 3.848 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 4.537e-05/0.5068, allocations: 23.94 kB / 1.48 GB, free: 3.824 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 9.677e-05/0.5068, allocations: 67.75 kB / 1.48 GB, free: 3.758 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.507, allocations: 103.5 kB / 1.48 GB, free: 3.656 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.5073, allocations: 234.9 kB / 1.48 GB, free: 3.426 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5073, allocations: 0 / 1.48 GB, free: 3.426 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5073, allocations: 0 / 1.48 GB, free: 3.426 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.5073, allocations: 0 / 1.48 GB, free: 3.426 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.0005635/0.5079, allocations: 425.7 kB / 1.48 GB, free: 2.98 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5079, allocations: 8.031 kB / 1.48 GB, free: 2.973 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.452e-05/0.508, allocations: 58.72 kB / 1.481 GB, free: 2.906 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.508, allocations: 32.8 kB / 1.481 GB, free: 2.875 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.5084, allocations: 208.1 kB / 1.481 GB, free: 2.648 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.5085, allocations: 20.8 kB / 1.481 GB, free: 2.629 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.5085, allocations: 20.31 kB / 1.481 GB, free: 2.609 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.509, allocations: 308.9 kB / 1.481 GB, free: 2.254 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.509, allocations: 3.938 kB / 1.481 GB, free: 2.25 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.509, allocations: 8 kB / 1.481 GB, free: 2.242 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.509, allocations: 8 kB / 1.481 GB, free: 2.234 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.5092, allocations: 123.7 kB / 1.481 GB, free: 2.113 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.5108, allocations: 1.927 MB / 1.483 GB, free: 88 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.5109, allocations: 177.1 kB / 1.483 GB, free: 15.9 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.511, allocations: 84.17 kB / 1.483 GB, free: 15.82 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.511, allocations: 79.22 kB / 1.483 GB, free: 15.74 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/0.511, allocations: 105.8 kB / 1.484 GB, free: 15.62 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.511, allocations: 0 / 1.484 GB, free: 15.62 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.000108/0.5112, allocations: 53.5 kB / 1.484 GB, free: 15.57 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.5112, allocations: 138.6 kB / 1.484 GB, free: 15.42 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/0.5116, allocations: 328.5 kB / 1.484 GB, free: 15.08 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.5116, allocations: 25.7 kB / 1.484 GB, free: 15.05 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.5118, allocations: 167.8 kB / 1.484 GB, free: 14.88 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.5118, allocations: 0 / 1.484 GB, free: 14.88 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.5118, allocations: 21.72 kB / 1.484 GB, free: 14.86 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.512, allocations: 334.8 kB / 1.485 GB, free: 14.52 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.512, allocations: 7.984 kB / 1.485 GB, free: 14.51 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.512, allocations: 58.88 kB / 1.485 GB, free: 14.43 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.255e-05/0.5121, allocations: 78.73 kB / 1.485 GB, free: 14.33 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5121, allocations: 0 / 1.485 GB, free: 14.33 MB / 1.186 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001867/0.5123, allocations: 101.6 kB / 1.485 GB, free: 14.22 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.5123, allocations: 11.97 kB / 1.485 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.5123, allocations: 7.938 kB / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.5124, allocations: 0 / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.636e-05/0.5124, allocations: 15.98 kB / 1.485 GB, free: 14.19 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.5124, allocations: 4 kB / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.006e-05/0.5125, allocations: 27.73 kB / 1.485 GB, free: 14.16 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.5125, allocations: 4 kB / 1.485 GB, free: 14.15 MB / 1.186 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.0001498/0.5127, allocations: 213.6 kB / 1.485 GB, free: 13.93 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.5128, allocations: 128.8 kB / 1.485 GB, free: 13.8 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.073e-05/0.5129, allocations: 125.9 kB / 1.485 GB, free: 13.67 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-05/0.5129, allocations: 188.1 kB / 1.485 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-05/0.513, allocations: 184.2 kB / 1.486 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.591e-05/0.5131, allocations: 180.3 kB / 1.486 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.5134, allocations: 448.2 kB / 1.486 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.627e-05/0.5135, allocations: 109 kB / 1.486 GB, free: 12.5 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.5135, allocations: 104.9 kB / 1.486 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.102e-05/0.5136, allocations: 176.3 kB / 1.487 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-05/0.5137, allocations: 188.1 kB / 1.487 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.661e-05/0.5138, allocations: 184.3 kB / 1.487 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.038e-05/0.5138, allocations: 184.2 kB / 1.487 GB, free: 11.65 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.514, allocations: 323.7 kB / 1.487 GB, free: 11.31 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5141, allocations: 132.8 kB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.5142, allocations: 184.2 kB / 1.488 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.5144, allocations: 101 kB / 1.488 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-05/0.5144, allocations: 184.2 kB / 1.488 GB, free: 10.69 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.5145, allocations: 105 kB / 1.488 GB, free: 10.58 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002571/0.5147, allocations: 243 kB / 1.488 GB, free: 10.35 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5147, allocations: 0 / 1.488 GB, free: 10.35 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002837/0.515, allocations: 31.94 kB / 1.488 GB, free: 10.32 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.0004949/0.5155, allocations: 0.832 MB / 1.489 GB, free: 9.457 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 9.107e-05/0.5156, allocations: 23.92 kB / 1.489 GB, free: 9.434 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5156, allocations: 0 / 1.489 GB, free: 9.434 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.5156, allocations: 0 / 1.489 GB, free: 9.434 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007294/0.5163, allocations: 0.532 MB / 1.49 GB, free: 8.895 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.5192, allocations: 2.512 MB / 1.492 GB, free: 6.27 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.5196, allocations: 0.744 MB / 1.493 GB, free: 5.5 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 9.422e-05/0.5197, allocations: 26.28 kB / 1.493 GB, free: 5.469 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-05/0.5198, allocations: 63.41 kB / 1.493 GB, free: 5.406 MB / 1.186 GB Notification: Performance of SimCode: time 5.21e-07/0.5198, allocations: 0 / 1.493 GB, free: 5.406 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/0.553, allocations: 4.959 MB / 1.498 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.95, allocations: 7.969 kB / 1.498 GB, free: 0.6172 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.621167809935287]