Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001708/0.001708, 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.002157/0.002157, allocations: 220.2 kB / 22.26 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.961 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.284/3.284, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.002011/0.002011, allocations: 66.69 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3396, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2102/0.5497, allocations: 177.8 MB / 1.527 GB, free: 5.965 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01268/0.5624, allocations: 9.659 MB / 1.536 GB, free: 12.28 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004693/0.5629, allocations: 15.88 kB / 1.536 GB, free: 12.26 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.000697/0.5636, allocations: 190.7 kB / 1.536 GB, free: 12.07 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.5639, allocations: 103.2 kB / 1.536 GB, free: 11.97 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.5642, allocations: 63.86 kB / 1.536 GB, free: 11.91 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.0005339/0.5647, allocations: 330.7 kB / 1.537 GB, free: 11.59 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.5651, allocations: 133.4 kB / 1.537 GB, free: 11.45 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.5655, allocations: 179.3 kB / 1.537 GB, free: 11.28 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.5657, allocations: 119.5 kB / 1.537 GB, free: 11.16 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.5658, allocations: 24 kB / 1.537 GB, free: 11.14 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 5.689e-05/0.5658, allocations: 24 kB / 1.537 GB, free: 11.11 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.5659, allocations: 75.75 kB / 1.537 GB, free: 11.04 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.5661, allocations: 131.3 kB / 1.537 GB, free: 10.91 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.5665, allocations: 302.5 kB / 1.538 GB, free: 10.61 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5665, allocations: 3.984 kB / 1.538 GB, free: 10.61 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5665, allocations: 0 / 1.538 GB, free: 10.61 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.5665, allocations: 0 / 1.538 GB, free: 10.61 MB / 1.232 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.0006428/0.5672, allocations: 449.6 kB / 1.538 GB, free: 10.14 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5672, allocations: 8.031 kB / 1.538 GB, free: 10.13 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.068e-05/0.5673, allocations: 66.53 kB / 1.538 GB, free: 10.06 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.5674, allocations: 35.75 kB / 1.538 GB, free: 10.02 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.5678, allocations: 216.6 kB / 1.538 GB, free: 9.785 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.5678, allocations: 20.66 kB / 1.538 GB, free: 9.762 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.5679, allocations: 24 kB / 1.538 GB, free: 9.738 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.5684, allocations: 329.1 kB / 1.539 GB, free: 9.371 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.5684, allocations: 4 kB / 1.539 GB, free: 9.367 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.5684, allocations: 12 kB / 1.539 GB, free: 9.355 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.5685, allocations: 11.94 kB / 1.539 GB, free: 9.344 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.5687, allocations: 143.8 kB / 1.539 GB, free: 9.203 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.5703, allocations: 1.776 MB / 1.541 GB, free: 7.34 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 9.288e-05/0.5704, allocations: 169.1 kB / 1.541 GB, free: 7.164 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.295e-05/0.5704, allocations: 88.06 kB / 1.541 GB, free: 7.074 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.5704, allocations: 75.28 kB / 1.541 GB, free: 7 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.538e-05/0.5705, allocations: 117.8 kB / 1.541 GB, free: 6.875 MB / 1.232 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.5705, allocations: 0 / 1.541 GB, free: 6.875 MB / 1.232 GB Notification: Performance of matching and sorting (n=0): time 0.000113/0.5706, allocations: 53.62 kB / 1.541 GB, free: 6.816 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.5707, allocations: 130.6 kB / 1.541 GB, free: 6.676 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.5711, allocations: 373.7 kB / 1.542 GB, free: 6.305 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.5711, allocations: 29.64 kB / 1.542 GB, free: 6.27 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.5713, allocations: 167.9 kB / 1.542 GB, free: 6.102 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-06/0.5713, allocations: 0 / 1.542 GB, free: 6.102 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.5713, allocations: 25.7 kB / 1.542 GB, free: 6.07 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5715, allocations: 330.8 kB / 1.542 GB, free: 5.738 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.5715, allocations: 8 kB / 1.542 GB, free: 5.73 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.501e-05/0.5715, allocations: 32.3 kB / 1.542 GB, free: 5.684 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.74e-05/0.5716, allocations: 52.22 kB / 1.542 GB, free: 5.617 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5716, allocations: 0 / 1.542 GB, free: 5.617 MB / 1.232 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001722/0.5718, allocations: 93.31 kB / 1.542 GB, free: 5.52 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.5718, allocations: 4 kB / 1.542 GB, free: 5.516 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5718, allocations: 0 / 1.542 GB, free: 5.516 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.5718, allocations: 8.156 kB / 1.542 GB, free: 5.508 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.5719, allocations: 8 kB / 1.542 GB, free: 5.5 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5719, allocations: 0 / 1.542 GB, free: 5.5 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.572, allocations: 27.73 kB / 1.542 GB, free: 5.473 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.572, allocations: 4 kB / 1.542 GB, free: 5.469 MB / 1.232 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.0001638/0.5721, allocations: 221.6 kB / 1.542 GB, free: 5.242 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.902e-05/0.5722, allocations: 136.7 kB / 1.543 GB, free: 5.102 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.202e-05/0.5723, allocations: 130.7 kB / 1.543 GB, free: 4.965 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.312e-05/0.5724, allocations: 188.3 kB / 1.543 GB, free: 4.773 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-05/0.5725, allocations: 180.3 kB / 1.543 GB, free: 4.59 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.027e-05/0.5726, allocations: 188.2 kB / 1.543 GB, free: 4.398 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.5729, allocations: 464.1 kB / 1.544 GB, free: 3.895 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-05/0.573, allocations: 105 kB / 1.544 GB, free: 3.785 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.573, allocations: 108.9 kB / 1.544 GB, free: 3.672 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.593e-05/0.5731, allocations: 180.3 kB / 1.544 GB, free: 3.488 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.99e-05/0.5732, allocations: 180.2 kB / 1.544 GB, free: 3.305 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-05/0.5732, allocations: 176.3 kB / 1.544 GB, free: 3.125 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-05/0.5733, allocations: 180.4 kB / 1.545 GB, free: 2.941 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.5735, allocations: 335.5 kB / 1.545 GB, free: 2.59 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.5736, allocations: 144.7 kB / 1.545 GB, free: 2.441 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.5737, allocations: 180.3 kB / 1.545 GB, free: 2.258 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.5739, allocations: 101 kB / 1.545 GB, free: 2.152 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/0.5739, allocations: 192.1 kB / 1.546 GB, free: 1.957 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.574, allocations: 105 kB / 1.546 GB, free: 1.848 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002906/0.5743, allocations: 271.2 kB / 1.546 GB, free: 1.582 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5743, allocations: 0 / 1.546 GB, free: 1.582 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000263/0.5745, allocations: 28 kB / 1.546 GB, free: 1.555 MB / 1.232 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.0004773/0.575, allocations: 0.8458 MB / 1.547 GB, free: 0.6797 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 8.724e-05/0.5751, allocations: 11.94 kB / 1.547 GB, free: 0.668 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5751, allocations: 0 / 1.547 GB, free: 0.668 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.5751, allocations: 0 / 1.547 GB, free: 0.668 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008246/0.5759, allocations: 0.5481 MB / 1.547 GB, free: 120 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.579, allocations: 2.691 MB / 1.55 GB, free: 13.32 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.5794, allocations: 0.7596 MB / 1.551 GB, free: 12.54 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.5795, allocations: 34.97 kB / 1.551 GB, free: 12.5 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.5796, allocations: 79.41 kB / 1.551 GB, free: 12.43 MB / 1.248 GB Notification: Performance of SimCode: time 4.51e-07/0.5796, allocations: 0 / 1.551 GB, free: 12.43 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/0.6133, allocations: 6.042 MB / 1.557 GB, free: 6.547 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.34, allocations: 11.58 kB / 1.557 GB, free: 6.539 MB / 1.248 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.18225132790394]