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.001281/0.001281, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001422/0.001422, allocations: 218.2 kB / 23.03 MB, free: 4.945 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.279/3.279, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_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.001954/0.001954, allocations: 69.38 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3649, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1884/0.5532, allocations: 153.6 MB / 1.495 GB, free: 5.734 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.5642, allocations: 8.635 MB / 1.504 GB, free: 13.07 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003612/0.5646, allocations: 19.88 kB / 1.504 GB, free: 13.05 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006583/0.5652, allocations: 190.7 kB / 1.504 GB, free: 12.87 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.5656, allocations: 99.3 kB / 1.504 GB, free: 12.77 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.5658, allocations: 59.92 kB / 1.504 GB, free: 12.71 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.5663, allocations: 326.7 kB / 1.504 GB, free: 12.39 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.5666, allocations: 141.3 kB / 1.505 GB, free: 12.25 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.567, allocations: 171.4 kB / 1.505 GB, free: 12.08 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.5672, allocations: 123.5 kB / 1.505 GB, free: 11.96 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.5672, allocations: 24 kB / 1.505 GB, free: 11.94 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 5.106e-05/0.5673, allocations: 20 kB / 1.505 GB, free: 11.92 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.5674, allocations: 75.7 kB / 1.505 GB, free: 11.84 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.5675, allocations: 107.5 kB / 1.505 GB, free: 11.74 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.5679, allocations: 298.5 kB / 1.505 GB, free: 11.45 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5679, allocations: 4 kB / 1.505 GB, free: 11.44 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5679, allocations: 0 / 1.505 GB, free: 11.44 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.5679, allocations: 0 / 1.505 GB, free: 11.44 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.000624/0.5686, allocations: 453.7 kB / 1.506 GB, free: 10.97 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.5686, allocations: 12.03 kB / 1.506 GB, free: 10.96 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.994e-05/0.5686, allocations: 4.656 kB / 1.506 GB, free: 10.95 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.344e-05/0.5687, allocations: 66.53 kB / 1.506 GB, free: 10.88 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.5688, allocations: 31.75 kB / 1.506 GB, free: 10.84 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.5692, allocations: 220.7 kB / 1.506 GB, free: 10.6 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.5692, allocations: 20.66 kB / 1.506 GB, free: 10.58 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.5693, allocations: 28 kB / 1.506 GB, free: 10.55 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.5698, allocations: 321.1 kB / 1.506 GB, free: 10.2 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5698, allocations: 4 kB / 1.506 GB, free: 10.19 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.5698, allocations: 8 kB / 1.506 GB, free: 10.18 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.5698, allocations: 11.94 kB / 1.506 GB, free: 10.17 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.5701, allocations: 139.8 kB / 1.507 GB, free: 10.04 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.5716, allocations: 1.745 MB / 1.508 GB, free: 8.203 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.5718, allocations: 177.1 kB / 1.508 GB, free: 8.02 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.5718, allocations: 88.08 kB / 1.509 GB, free: 7.93 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.5718, allocations: 79.28 kB / 1.509 GB, free: 7.852 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.185e-05/0.5719, allocations: 105.8 kB / 1.509 GB, free: 7.738 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.5719, allocations: 3.938 kB / 1.509 GB, free: 7.734 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001158/0.572, allocations: 61.52 kB / 1.509 GB, free: 7.668 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/0.5721, allocations: 130.6 kB / 1.509 GB, free: 7.527 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.5725, allocations: 373.7 kB / 1.509 GB, free: 7.156 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.5726, allocations: 25.7 kB / 1.509 GB, free: 7.125 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.5727, allocations: 167.9 kB / 1.509 GB, free: 6.957 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.5727, allocations: 4 kB / 1.509 GB, free: 6.953 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.5728, allocations: 21.72 kB / 1.509 GB, free: 6.926 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5729, allocations: 334.8 kB / 1.51 GB, free: 6.59 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.5729, allocations: 4 kB / 1.51 GB, free: 6.586 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.573, allocations: 40.28 kB / 1.51 GB, free: 6.531 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.573, allocations: 40.23 kB / 1.51 GB, free: 6.477 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.573, allocations: 0 / 1.51 GB, free: 6.477 MB / 1.201 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001677/0.5732, allocations: 97.31 kB / 1.51 GB, free: 6.375 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5732, allocations: 4 kB / 1.51 GB, free: 6.371 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5732, allocations: 4 kB / 1.51 GB, free: 6.367 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.5732, allocations: 0 / 1.51 GB, free: 6.367 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.74e-05/0.5733, allocations: 11.98 kB / 1.51 GB, free: 6.355 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5733, allocations: 0 / 1.51 GB, free: 6.355 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.453e-05/0.5734, allocations: 31.73 kB / 1.51 GB, free: 6.324 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.5734, allocations: 4 kB / 1.51 GB, free: 6.32 MB / 1.201 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.000159/0.5735, allocations: 225.1 kB / 1.51 GB, free: 6.09 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/0.5736, allocations: 128.8 kB / 1.51 GB, free: 5.957 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.908e-05/0.5737, allocations: 122.9 kB / 1.51 GB, free: 5.824 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.657e-05/0.5738, allocations: 188.2 kB / 1.511 GB, free: 5.633 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.342e-05/0.5739, allocations: 176.3 kB / 1.511 GB, free: 5.453 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.325e-05/0.5739, allocations: 184.2 kB / 1.511 GB, free: 5.266 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.5743, allocations: 448.2 kB / 1.511 GB, free: 4.777 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.65e-05/0.5743, allocations: 101 kB / 1.512 GB, free: 4.672 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.5744, allocations: 109 kB / 1.512 GB, free: 4.559 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.689e-05/0.5745, allocations: 184.2 kB / 1.512 GB, free: 4.371 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.659e-05/0.5745, allocations: 184.2 kB / 1.512 GB, free: 4.184 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.714e-05/0.5746, allocations: 184.3 kB / 1.512 GB, free: 3.996 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.975e-05/0.5747, allocations: 180.2 kB / 1.512 GB, free: 3.812 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.5748, allocations: 335.5 kB / 1.513 GB, free: 3.461 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.575, allocations: 140.7 kB / 1.513 GB, free: 3.316 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.5751, allocations: 176.4 kB / 1.513 GB, free: 3.137 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.5752, allocations: 105 kB / 1.513 GB, free: 3.027 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/0.5753, allocations: 184.2 kB / 1.513 GB, free: 2.84 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.5753, allocations: 101 kB / 1.513 GB, free: 2.734 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002942/0.5756, allocations: 271.2 kB / 1.514 GB, free: 2.473 MB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/0.5756, allocations: 0 / 1.514 GB, free: 2.473 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002625/0.5759, allocations: 31.94 kB / 1.514 GB, free: 2.441 MB / 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.0004733/0.5763, allocations: 0.8397 MB / 1.514 GB, free: 1.57 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 9.375e-05/0.5764, allocations: 23.92 kB / 1.514 GB, free: 1.547 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5764, allocations: 0 / 1.514 GB, free: 1.547 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.5764, allocations: 0 / 1.514 GB, free: 1.547 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000832/0.5773, allocations: 0.5468 MB / 1.515 GB, free: 1 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.5803, allocations: 2.699 MB / 1.518 GB, free: 14.2 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.5805, allocations: 146.2 kB / 1.518 GB, free: 14.03 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.5806, allocations: 30.97 kB / 1.518 GB, free: 14 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.5807, allocations: 71.42 kB / 1.518 GB, free: 13.93 MB / 1.217 GB Notification: Performance of SimCode: time 7.32e-07/0.5807, allocations: 0 / 1.518 GB, free: 13.93 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.6092, allocations: 6.488 MB / 1.524 GB, free: 7.691 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.2, allocations: 12 kB / 1.524 GB, free: 7.68 MB / 1.217 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.107980447006412]