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.001673/0.001673, allocations: 101.8 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.002097/0.002097, allocations: 217 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.18/3.18, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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.001921/0.001921, allocations: 62.08 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3979, allocations: 179 MB / 1.345 GB, free: 448 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2444/0.6422, allocations: 177.8 MB / 1.519 GB, free: 13.96 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.0121/0.6544, allocations: 9.651 MB / 1.528 GB, free: 4.285 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004896/0.6548, allocations: 11.94 kB / 1.528 GB, free: 4.273 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0007725/0.6556, allocations: 198.6 kB / 1.529 GB, free: 4.078 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.656, allocations: 99.25 kB / 1.529 GB, free: 3.98 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.6562, allocations: 67.8 kB / 1.529 GB, free: 3.914 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.000531/0.6568, allocations: 330.7 kB / 1.529 GB, free: 3.59 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.6571, allocations: 129.4 kB / 1.529 GB, free: 3.461 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004431/0.6576, allocations: 183.3 kB / 1.529 GB, free: 3.281 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.6577, allocations: 119.5 kB / 1.529 GB, free: 3.164 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.6578, allocations: 27.94 kB / 1.53 GB, free: 3.137 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 3.696e-05/0.6578, allocations: 20 kB / 1.53 GB, free: 3.117 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.6579, allocations: 79.81 kB / 1.53 GB, free: 3.039 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.6581, allocations: 123.4 kB / 1.53 GB, free: 2.918 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.6584, allocations: 298.5 kB / 1.53 GB, free: 2.625 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.6584, allocations: 4 kB / 1.53 GB, free: 2.621 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6584, allocations: 0 / 1.53 GB, free: 2.621 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.6585, allocations: 0 / 1.53 GB, free: 2.621 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.0005815/0.659, allocations: 453.6 kB / 1.53 GB, free: 2.148 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6591, allocations: 8.031 kB / 1.53 GB, free: 2.141 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.504e-05/0.6591, allocations: 8.656 kB / 1.53 GB, free: 2.129 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.888e-05/0.6592, allocations: 62.55 kB / 1.531 GB, free: 2.059 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.6592, allocations: 35.75 kB / 1.531 GB, free: 2.023 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.6596, allocations: 216.7 kB / 1.531 GB, free: 1.785 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.6597, allocations: 24.64 kB / 1.531 GB, free: 1.762 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.6597, allocations: 24 kB / 1.531 GB, free: 1.738 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.6602, allocations: 333.1 kB / 1.531 GB, free: 1.367 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6603, allocations: 4 kB / 1.531 GB, free: 1.363 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.6603, allocations: 12 kB / 1.531 GB, free: 1.352 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.6603, allocations: 11.94 kB / 1.531 GB, free: 1.34 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.6605, allocations: 143.7 kB / 1.531 GB, free: 1.199 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.6621, allocations: 1.769 MB / 1.533 GB, free: 15.34 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.6622, allocations: 169.1 kB / 1.533 GB, free: 15.17 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/0.6623, allocations: 84.08 kB / 1.533 GB, free: 15.08 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.6623, allocations: 75.39 kB / 1.533 GB, free: 15.01 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.573e-05/0.6624, allocations: 113.8 kB / 1.533 GB, free: 14.89 MB / 1.232 GB Notification: Performance of pre-optimization done (n=0): time 1.903e-06/0.6624, allocations: 0 / 1.533 GB, free: 14.89 MB / 1.232 GB Notification: Performance of matching and sorting (n=0): time 0.0001379/0.6625, allocations: 61.52 kB / 1.534 GB, free: 14.82 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/0.6626, allocations: 130.7 kB / 1.534 GB, free: 14.68 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.6631, allocations: 365.7 kB / 1.534 GB, free: 14.32 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.6631, allocations: 29.69 kB / 1.534 GB, free: 14.28 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.6632, allocations: 167.9 kB / 1.534 GB, free: 14.11 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.6632, allocations: 0 / 1.534 GB, free: 14.11 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.6633, allocations: 21.72 kB / 1.534 GB, free: 14.09 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.6635, allocations: 338.8 kB / 1.535 GB, free: 13.75 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.6635, allocations: 11.98 kB / 1.535 GB, free: 13.73 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.252e-05/0.6635, allocations: 32.33 kB / 1.535 GB, free: 13.69 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.751e-05/0.6636, allocations: 44.23 kB / 1.535 GB, free: 13.63 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.6636, allocations: 4 kB / 1.535 GB, free: 13.62 MB / 1.232 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000192/0.6638, allocations: 93.31 kB / 1.535 GB, free: 13.53 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.6638, allocations: 8 kB / 1.535 GB, free: 13.52 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.6638, allocations: 160 / 1.535 GB, free: 13.52 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.6638, allocations: 4 kB / 1.535 GB, free: 13.52 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.6639, allocations: 11.98 kB / 1.535 GB, free: 13.5 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.6639, allocations: 4 kB / 1.535 GB, free: 13.5 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.867e-05/0.664, allocations: 27.73 kB / 1.535 GB, free: 13.47 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.664, allocations: 0 / 1.535 GB, free: 13.47 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.0001734/0.6642, allocations: 217 kB / 1.535 GB, free: 13.25 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.6643, allocations: 140.8 kB / 1.535 GB, free: 13.11 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.804e-05/0.6644, allocations: 126.9 kB / 1.535 GB, free: 12.97 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.469e-05/0.6645, allocations: 184.2 kB / 1.535 GB, free: 12.78 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-05/0.6645, allocations: 180.3 kB / 1.536 GB, free: 12.6 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.173e-05/0.6646, allocations: 188.2 kB / 1.536 GB, free: 12.41 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.665, allocations: 468.1 kB / 1.536 GB, free: 11.9 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.693e-05/0.665, allocations: 101 kB / 1.536 GB, free: 11.79 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.473e-05/0.6651, allocations: 112.9 kB / 1.536 GB, free: 11.68 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.006e-05/0.6652, allocations: 176.3 kB / 1.537 GB, free: 11.5 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.101e-05/0.6652, allocations: 184.2 kB / 1.537 GB, free: 11.31 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-05/0.6653, allocations: 180.2 kB / 1.537 GB, free: 11.12 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-05/0.6654, allocations: 180.3 kB / 1.537 GB, free: 10.94 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.6656, allocations: 335.5 kB / 1.537 GB, free: 10.59 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.6657, allocations: 132.7 kB / 1.538 GB, free: 10.45 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.6658, allocations: 188.2 kB / 1.538 GB, free: 10.26 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.666, allocations: 105 kB / 1.538 GB, free: 10.15 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.666, allocations: 180.2 kB / 1.538 GB, free: 9.969 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/0.6661, allocations: 109 kB / 1.538 GB, free: 9.855 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002921/0.6664, allocations: 267.2 kB / 1.538 GB, free: 9.598 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.6664, allocations: 0 / 1.538 GB, free: 9.598 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0002918/0.6667, allocations: 28 kB / 1.538 GB, free: 9.57 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.0004935/0.6672, allocations: 0.8436 MB / 1.539 GB, free: 8.695 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 9.837e-05/0.6673, allocations: 15.94 kB / 1.539 GB, free: 8.68 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6673, allocations: 0 / 1.539 GB, free: 8.68 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.6673, allocations: 0 / 1.539 GB, free: 8.68 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.6682, allocations: 0.5523 MB / 1.54 GB, free: 8.129 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.6714, allocations: 2.695 MB / 1.542 GB, free: 5.336 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.6718, allocations: 0.7596 MB / 1.543 GB, free: 4.547 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.6719, allocations: 38.95 kB / 1.543 GB, free: 4.504 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.672, allocations: 75.42 kB / 1.543 GB, free: 4.43 MB / 1.232 GB Notification: Performance of SimCode: time 1.262e-06/0.672, allocations: 0 / 1.543 GB, free: 4.43 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.7015, allocations: 6.075 MB / 1.549 GB, free: 14.52 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.22, allocations: 10.5 kB / 1.549 GB, free: 14.51 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: 18.939433785039]