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.001746/0.001746, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002216/0.002216, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.793 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.278/3.278, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002251/0.002251, allocations: 70.12 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3501, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1991/0.5493, allocations: 153.7 MB / 1.514 GB, free: 3.785 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.56, allocations: 8.663 MB / 1.522 GB, free: 11.09 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003431/0.5603, allocations: 11.88 kB / 1.522 GB, free: 11.08 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0006317/0.5609, allocations: 198.7 kB / 1.522 GB, free: 10.89 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.5612, allocations: 91.25 kB / 1.522 GB, free: 10.8 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.5614, allocations: 75.91 kB / 1.522 GB, free: 10.72 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.5618, allocations: 322.7 kB / 1.523 GB, free: 10.41 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.5621, allocations: 133.4 kB / 1.523 GB, free: 10.27 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003973/0.5625, allocations: 175.3 kB / 1.523 GB, free: 10.1 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.5627, allocations: 107.5 kB / 1.523 GB, free: 9.996 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.5627, allocations: 20 kB / 1.523 GB, free: 9.977 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 4.067e-05/0.5628, allocations: 20 kB / 1.523 GB, free: 9.957 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.5629, allocations: 79.75 kB / 1.523 GB, free: 9.879 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.563, allocations: 99.53 kB / 1.523 GB, free: 9.781 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.5633, allocations: 314.5 kB / 1.524 GB, free: 9.473 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5633, allocations: 0 / 1.524 GB, free: 9.473 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5633, allocations: 0 / 1.524 GB, free: 9.473 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.5633, allocations: 0 / 1.524 GB, free: 9.473 MB / 1.217 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.0005669/0.5639, allocations: 445.7 kB / 1.524 GB, free: 9.008 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.564, allocations: 8.031 kB / 1.524 GB, free: 9 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.635e-05/0.564, allocations: 62.53 kB / 1.524 GB, free: 8.93 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.5641, allocations: 35.75 kB / 1.524 GB, free: 8.895 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.5645, allocations: 220.7 kB / 1.524 GB, free: 8.652 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.5645, allocations: 20.66 kB / 1.524 GB, free: 8.633 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.5646, allocations: 24 kB / 1.524 GB, free: 8.609 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.5651, allocations: 329.1 kB / 1.525 GB, free: 8.242 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.5651, allocations: 0 / 1.525 GB, free: 8.242 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.5651, allocations: 12 kB / 1.525 GB, free: 8.23 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.5651, allocations: 11.94 kB / 1.525 GB, free: 8.219 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.5654, allocations: 139.8 kB / 1.525 GB, free: 8.082 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.5669, allocations: 1.745 MB / 1.526 GB, free: 6.246 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.567, allocations: 173.1 kB / 1.527 GB, free: 6.066 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.567, allocations: 88.08 kB / 1.527 GB, free: 5.977 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.5671, allocations: 75.39 kB / 1.527 GB, free: 5.902 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/0.5671, allocations: 109.8 kB / 1.527 GB, free: 5.785 MB / 1.217 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.5671, allocations: 0 / 1.527 GB, free: 5.785 MB / 1.217 GB Notification: Performance of matching and sorting (n=0): time 9.564e-05/0.5672, allocations: 49.56 kB / 1.527 GB, free: 5.73 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.5673, allocations: 130.7 kB / 1.527 GB, free: 5.59 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004284/0.5677, allocations: 377.6 kB / 1.527 GB, free: 5.215 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.5677, allocations: 33.64 kB / 1.527 GB, free: 5.176 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.5679, allocations: 163.9 kB / 1.528 GB, free: 5.012 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.5679, allocations: 3.984 kB / 1.528 GB, free: 5.008 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.5679, allocations: 21.72 kB / 1.528 GB, free: 4.98 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5681, allocations: 338.8 kB / 1.528 GB, free: 4.641 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.5681, allocations: 4 kB / 1.528 GB, free: 4.637 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.095e-05/0.5681, allocations: 40.28 kB / 1.528 GB, free: 4.582 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.171e-05/0.5682, allocations: 44.23 kB / 1.528 GB, free: 4.523 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5682, allocations: 0 / 1.528 GB, free: 4.523 MB / 1.217 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001661/0.5684, allocations: 93.36 kB / 1.528 GB, free: 4.426 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.5684, allocations: 4 kB / 1.528 GB, free: 4.422 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.5684, allocations: 4 kB / 1.528 GB, free: 4.418 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.5684, allocations: 0 / 1.528 GB, free: 4.418 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.5685, allocations: 8 kB / 1.528 GB, free: 4.41 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.5685, allocations: 128 / 1.528 GB, free: 4.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.099e-05/0.5686, allocations: 31.89 kB / 1.528 GB, free: 4.379 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.5686, allocations: 8 kB / 1.528 GB, free: 4.371 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.000155/0.5687, allocations: 214.1 kB / 1.528 GB, free: 4.152 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.92e-05/0.5688, allocations: 140.7 kB / 1.529 GB, free: 4.008 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.628e-05/0.5689, allocations: 130.7 kB / 1.529 GB, free: 3.875 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.231e-05/0.569, allocations: 188.3 kB / 1.529 GB, free: 3.684 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.718e-05/0.5691, allocations: 176.3 kB / 1.529 GB, free: 3.504 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.826e-05/0.5692, allocations: 180.2 kB / 1.529 GB, free: 3.32 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.5695, allocations: 456.2 kB / 1.53 GB, free: 2.824 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.994e-05/0.5696, allocations: 101 kB / 1.53 GB, free: 2.719 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.581e-05/0.5696, allocations: 109 kB / 1.53 GB, free: 2.605 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.922e-05/0.5697, allocations: 184.3 kB / 1.53 GB, free: 2.418 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.074e-05/0.5698, allocations: 180.2 kB / 1.53 GB, free: 2.234 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.643e-05/0.5699, allocations: 184.2 kB / 1.53 GB, free: 2.047 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-05/0.57, allocations: 176.3 kB / 1.531 GB, free: 1.867 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.5702, allocations: 335.5 kB / 1.531 GB, free: 1.516 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.5703, allocations: 140.7 kB / 1.531 GB, free: 1.371 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.5704, allocations: 180.2 kB / 1.531 GB, free: 1.188 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.5705, allocations: 105 kB / 1.531 GB, free: 1.078 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.5706, allocations: 184.2 kB / 1.531 GB, free: 0.8906 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.5707, allocations: 101 kB / 1.532 GB, free: 0.7852 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002934/0.571, allocations: 271.2 kB / 1.532 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.571, allocations: 0 / 1.532 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0002691/0.5712, allocations: 35.95 kB / 1.532 GB, free: 496 kB / 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.0004936/0.5717, allocations: 0.828 MB / 1.533 GB, free: 15.62 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 7.955e-05/0.5718, allocations: 15.94 kB / 1.533 GB, free: 15.61 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5718, allocations: 4 kB / 1.533 GB, free: 15.61 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.5718, allocations: 0 / 1.533 GB, free: 15.61 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008568/0.5727, allocations: 0.5615 MB / 1.533 GB, free: 15.04 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.5758, allocations: 2.687 MB / 1.536 GB, free: 12.26 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.5759, allocations: 150.1 kB / 1.536 GB, free: 12.09 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.5761, allocations: 26.97 kB / 1.536 GB, free: 12.07 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.5762, allocations: 79.42 kB / 1.536 GB, free: 11.99 MB / 1.232 GB Notification: Performance of SimCode: time 8.01e-07/0.5762, allocations: 0 / 1.536 GB, free: 11.99 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.6118, allocations: 6.878 MB / 1.543 GB, free: 5.32 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.26, allocations: 5.609 kB / 1.543 GB, free: 5.316 MB / 1.232 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.12270355504006]