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.001702/0.001702, allocations: 106.4 kB / 16.45 MB, free: 6.453 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.00202/0.00202, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.435/1.435, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.129/3.129, allocations: 0.49 GB / 0.7916 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002141/0.002141, allocations: 63.41 kB / 1.149 GB, free: 26.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3279, allocations: 176.1 MB / 1.321 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2069/0.5347, allocations: 177.5 MB / 1.494 GB, free: 1.234 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01166/0.5464, allocations: 9.588 MB / 1.504 GB, free: 7.613 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004075/0.5468, allocations: 11.94 kB / 1.504 GB, free: 7.602 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007495/0.5475, allocations: 198.6 kB / 1.504 GB, free: 7.406 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.5479, allocations: 87.38 kB / 1.504 GB, free: 7.32 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.5482, allocations: 59.92 kB / 1.504 GB, free: 7.262 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0005332/0.5487, allocations: 334.6 kB / 1.504 GB, free: 6.934 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.5491, allocations: 156.7 kB / 1.504 GB, free: 6.777 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004818/0.5496, allocations: 159.4 kB / 1.505 GB, free: 6.621 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.5498, allocations: 135.3 kB / 1.505 GB, free: 6.488 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.5498, allocations: 20 kB / 1.505 GB, free: 6.469 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 4.842e-05/0.5499, allocations: 20 kB / 1.505 GB, free: 6.449 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.55, allocations: 79.75 kB / 1.505 GB, free: 6.371 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.5501, allocations: 127.4 kB / 1.505 GB, free: 6.246 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.5506, allocations: 298.5 kB / 1.505 GB, free: 5.953 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5506, allocations: 0 / 1.505 GB, free: 5.953 MB / 1.201 GB Notification: Performance of FrontEnd: time 4.077e-06/0.5506, allocations: 3.984 kB / 1.505 GB, free: 5.949 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.5506, allocations: 4 kB / 1.505 GB, free: 5.945 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.0006213/0.5512, allocations: 0.5123 MB / 1.506 GB, free: 5.387 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.5512, allocations: 11.98 kB / 1.506 GB, free: 5.375 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.583e-05/0.5513, allocations: 62.53 kB / 1.506 GB, free: 5.305 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.5514, allocations: 35.75 kB / 1.506 GB, free: 5.27 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.5518, allocations: 284.6 kB / 1.506 GB, free: 4.953 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.5518, allocations: 16.56 kB / 1.506 GB, free: 4.938 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.5518, allocations: 28 kB / 1.506 GB, free: 4.91 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.5523, allocations: 320 kB / 1.506 GB, free: 4.551 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.5523, allocations: 7.938 kB / 1.506 GB, free: 4.543 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.5524, allocations: 8 kB / 1.506 GB, free: 4.535 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.5524, allocations: 11.94 kB / 1.506 GB, free: 4.523 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.5526, allocations: 151.7 kB / 1.507 GB, free: 4.375 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.5541, allocations: 1.816 MB / 1.508 GB, free: 2.461 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 9.491e-05/0.5541, allocations: 169.1 kB / 1.509 GB, free: 2.285 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.5542, allocations: 84.08 kB / 1.509 GB, free: 2.199 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.5542, allocations: 79.22 kB / 1.509 GB, free: 2.121 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/0.5543, allocations: 105.8 kB / 1.509 GB, free: 2.008 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.5543, allocations: 0 / 1.509 GB, free: 2.008 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001013/0.5544, allocations: 69.44 kB / 1.509 GB, free: 1.934 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/0.5545, allocations: 126.7 kB / 1.509 GB, free: 1.797 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/0.5549, allocations: 373.7 kB / 1.509 GB, free: 1.426 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.5549, allocations: 25.7 kB / 1.509 GB, free: 1.395 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.555, allocations: 163.9 kB / 1.51 GB, free: 1.23 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-06/0.555, allocations: 0 / 1.51 GB, free: 1.23 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.5551, allocations: 21.72 kB / 1.51 GB, free: 1.203 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5552, allocations: 338.8 kB / 1.51 GB, free: 0.8633 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.5553, allocations: 8 kB / 1.51 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/0.5553, allocations: 32.3 kB / 1.51 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.421e-05/0.5554, allocations: 48.17 kB / 1.51 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.5554, allocations: 4 kB / 1.51 GB, free: 0.7422 MB / 1.201 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001584/0.5555, allocations: 89.5 kB / 1.51 GB, free: 0.6484 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.5555, allocations: 11.98 kB / 1.51 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.5556, allocations: 4 kB / 1.51 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.5556, allocations: 0 / 1.51 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.581e-05/0.5556, allocations: 11.94 kB / 1.51 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.5556, allocations: 8.141 kB / 1.51 GB, free: 0.6133 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.069e-05/0.5557, allocations: 35.67 kB / 1.51 GB, free: 0.5781 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.5557, allocations: 0 / 1.51 GB, free: 0.5781 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.0001483/0.5559, allocations: 213.1 kB / 1.51 GB, free: 368 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.884e-05/0.556, allocations: 128.8 kB / 1.51 GB, free: 232 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.34e-05/0.5561, allocations: 130.9 kB / 1.511 GB, free: 92 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.354e-05/0.5561, allocations: 188.3 kB / 1.511 GB, free: 15.9 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.962e-05/0.5562, allocations: 188.2 kB / 1.511 GB, free: 15.71 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.946e-05/0.5563, allocations: 176.3 kB / 1.511 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.5567, allocations: 493 kB / 1.512 GB, free: 14.99 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.545e-05/0.5567, allocations: 108.9 kB / 1.512 GB, free: 14.88 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.5568, allocations: 101 kB / 1.512 GB, free: 14.77 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.755e-05/0.5569, allocations: 188.2 kB / 1.512 GB, free: 14.58 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.593e-05/0.5569, allocations: 180.4 kB / 1.512 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.499e-05/0.557, allocations: 180.2 kB / 1.512 GB, free: 14.21 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.171e-05/0.5571, allocations: 180.2 kB / 1.512 GB, free: 14.03 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.5573, allocations: 343.5 kB / 1.513 GB, free: 13.67 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.5574, allocations: 209.9 kB / 1.513 GB, free: 13.44 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.5575, allocations: 180.2 kB / 1.513 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.5576, allocations: 105 kB / 1.513 GB, free: 13.14 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.5577, allocations: 176.3 kB / 1.513 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/0.5578, allocations: 108.9 kB / 1.514 GB, free: 12.85 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003058/0.5581, allocations: 279.1 kB / 1.514 GB, free: 12.58 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5581, allocations: 0 / 1.514 GB, free: 12.58 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0002663/0.5583, allocations: 28 kB / 1.514 GB, free: 12.55 MB / 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.0004859/0.5588, allocations: 0.8359 MB / 1.515 GB, free: 11.69 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 8.651e-05/0.5589, allocations: 23.92 kB / 1.515 GB, free: 11.66 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5589, allocations: 0 / 1.515 GB, free: 11.66 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.5589, allocations: 0 / 1.515 GB, free: 11.66 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008743/0.5598, allocations: 0.548 MB / 1.515 GB, free: 11.11 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.5628, allocations: 2.69 MB / 1.518 GB, free: 8.32 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.5632, allocations: 0.7558 MB / 1.519 GB, free: 7.539 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.5633, allocations: 26.97 kB / 1.519 GB, free: 7.516 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5634, allocations: 75.41 kB / 1.519 GB, free: 7.441 MB / 1.217 GB Notification: Performance of SimCode: time 1.032e-06/0.5634, allocations: 4 kB / 1.519 GB, free: 7.438 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.5947, allocations: 5.939 MB / 1.524 GB, free: 1.664 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.42/9.014, allocations: 9.703 kB / 1.524 GB, free: 1.656 MB / 1.217 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.46014272980392]