Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008373/0.0008373, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008902/0.0008902, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.887/0.887, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.759/1.759, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.442e-05, allocations: 9.234 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.584/0.584, allocations: 153.6 MB / 1.131 GB, free: 9.254 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005915/0.5899, allocations: 8.604 MB / 1.139 GB, free: 3.477 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.5902, allocations: 10.12 kB / 1.139 GB, free: 3.473 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004776/0.5906, allocations: 199 kB / 1.14 GB, free: 3.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.5908, allocations: 110.5 kB / 1.14 GB, free: 3.262 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.591, allocations: 66.39 kB / 1.14 GB, free: 3.227 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.5913, allocations: 336.3 kB / 1.14 GB, free: 3.062 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.5916, allocations: 131 kB / 1.14 GB, free: 2.992 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003985/0.592, allocations: 231.6 kB / 1.14 GB, free: 2.895 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.5921, allocations: 92.89 kB / 1.141 GB, free: 2.863 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.5921, allocations: 20.47 kB / 1.141 GB, free: 2.863 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.871e-05/0.5921, allocations: 22.09 kB / 1.141 GB, free: 2.863 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.466e-05/0.5922, allocations: 79.06 kB / 1.141 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.26e-05/0.5923, allocations: 88.8 kB / 1.141 GB, free: 2.781 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.5926, allocations: 288.7 kB / 1.141 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5927, allocations: 0 / 1.141 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5927, allocations: 0 / 1.141 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.5927, allocations: 0 / 1.141 GB, free: 2.664 MB / 0.9948 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.0004199/0.5931, allocations: 455.9 kB / 1.141 GB, free: 2.281 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.5931, allocations: 9 kB / 1.141 GB, free: 2.281 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.5932, allocations: 62.66 kB / 1.141 GB, free: 2.227 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.5932, allocations: 35.03 kB / 1.142 GB, free: 2.207 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.5935, allocations: 221.4 kB / 1.142 GB, free: 2.023 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.5936, allocations: 26.09 kB / 1.142 GB, free: 2.012 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.5936, allocations: 25.59 kB / 1.142 GB, free: 2.004 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.594, allocations: 325.5 kB / 1.142 GB, free: 1.785 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.594, allocations: 1.938 kB / 1.142 GB, free: 1.785 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.594, allocations: 10.75 kB / 1.142 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.594, allocations: 7.938 kB / 1.142 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.5942, allocations: 144.4 kB / 1.142 GB, free: 1.723 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007563/0.5949, allocations: 1.735 MB / 1.144 GB, free: 136 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.481e-05/0.595, allocations: 167.3 kB / 1.144 GB, free: 15.96 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.795e-05/0.595, allocations: 84.78 kB / 1.144 GB, free: 15.88 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.595, allocations: 76.66 kB / 1.144 GB, free: 15.8 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.5951, allocations: 107.8 kB / 1.144 GB, free: 15.69 MB / 1.01 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.5951, allocations: 0 / 1.144 GB, free: 15.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=0): time 7.636e-05/0.5952, allocations: 59.45 kB / 1.144 GB, free: 15.64 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.5952, allocations: 131.8 kB / 1.145 GB, free: 15.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.5955, allocations: 377.6 kB / 1.145 GB, free: 15.31 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.5955, allocations: 25.7 kB / 1.145 GB, free: 15.28 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.5956, allocations: 163.6 kB / 1.145 GB, free: 15.14 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.5956, allocations: 1.125 kB / 1.145 GB, free: 15.14 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.5957, allocations: 22.8 kB / 1.145 GB, free: 15.11 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5958, allocations: 338 kB / 1.145 GB, free: 14.79 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.5958, allocations: 7.609 kB / 1.145 GB, free: 14.79 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.716e-05/0.5958, allocations: 36.3 kB / 1.145 GB, free: 14.74 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.044e-05/0.5959, allocations: 51.42 kB / 1.146 GB, free: 14.69 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.5959, allocations: 1.625 kB / 1.146 GB, free: 14.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001283/0.596, allocations: 87.23 kB / 1.146 GB, free: 14.63 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.596, allocations: 9.062 kB / 1.146 GB, free: 14.63 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.596, allocations: 4.906 kB / 1.146 GB, free: 14.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.596, allocations: 1.125 kB / 1.146 GB, free: 14.62 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.5961, allocations: 9.547 kB / 1.146 GB, free: 14.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.5961, allocations: 5.781 kB / 1.146 GB, free: 14.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.5962, allocations: 31.36 kB / 1.146 GB, free: 14.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.5962, allocations: 2.406 kB / 1.146 GB, free: 14.6 MB / 1.01 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.0001148/0.5963, allocations: 210.8 kB / 1.146 GB, free: 14.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.5963, allocations: 138.6 kB / 1.146 GB, free: 14.27 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.713e-05/0.5964, allocations: 130.9 kB / 1.146 GB, free: 14.15 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.038e-05/0.5965, allocations: 183.4 kB / 1.146 GB, free: 13.96 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.556e-05/0.5965, allocations: 177.5 kB / 1.146 GB, free: 13.79 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.743e-05/0.5966, allocations: 183.2 kB / 1.147 GB, free: 13.6 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.5968, allocations: 452.3 kB / 1.147 GB, free: 13.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/0.5968, allocations: 108 kB / 1.147 GB, free: 13.05 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.5969, allocations: 107.2 kB / 1.147 GB, free: 12.95 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.707e-05/0.5969, allocations: 178.7 kB / 1.147 GB, free: 12.77 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.597, allocations: 181.9 kB / 1.148 GB, free: 12.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.831e-05/0.597, allocations: 185.8 kB / 1.148 GB, free: 12.4 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-05/0.5971, allocations: 176.8 kB / 1.148 GB, free: 12.22 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.5972, allocations: 331.7 kB / 1.148 GB, free: 11.89 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.5973, allocations: 134.5 kB / 1.148 GB, free: 11.76 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.76e-05/0.5973, allocations: 190.2 kB / 1.149 GB, free: 11.57 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.5974, allocations: 102.7 kB / 1.149 GB, free: 11.47 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.5975, allocations: 188.7 kB / 1.149 GB, free: 11.28 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.5975, allocations: 106.7 kB / 1.149 GB, free: 11.17 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002483/0.5977, allocations: 267.9 kB / 1.149 GB, free: 11.04 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5977, allocations: 0 / 1.149 GB, free: 11.04 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001841/0.5979, allocations: 27.22 kB / 1.149 GB, free: 11.04 MB / 1.01 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.0005049/0.5984, allocations: 0.8336 MB / 1.15 GB, free: 10.21 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 7.395e-05/0.5985, allocations: 25.44 kB / 1.15 GB, free: 10.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5985, allocations: 1.031 kB / 1.15 GB, free: 10.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.5985, allocations: 320 / 1.15 GB, free: 10.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.5991, allocations: 0.5549 MB / 1.151 GB, free: 9.719 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.6014, allocations: 2.718 MB / 1.153 GB, free: 7.879 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.6016, allocations: 144.9 kB / 1.153 GB, free: 7.789 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 9.919e-05/0.6017, allocations: 33.44 kB / 1.153 GB, free: 7.781 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/0.6018, allocations: 76.05 kB / 1.154 GB, free: 7.723 MB / 1.01 GB Notification: Performance of SimCode: time 7.11e-07/0.6018, allocations: 0 / 1.154 GB, free: 7.723 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.6228, allocations: 6.973 MB / 1.16 GB, free: 6.395 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.924/7.546, allocations: 10.75 kB / 1.16 GB, free: 6.395 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.60111906658858]