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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 112.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.074/3.074, allocations: 497.2 MB / 0.7811 GB, free: 33.81 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 68.92 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3196, allocations: 173.9 MB / 1.304 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2014/0.521, allocations: 174.6 MB / 1.475 GB, free: 2.18 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.533, allocations: 9.561 MB / 1.484 GB, free: 8.586 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004107/0.5334, allocations: 11.94 kB / 1.484 GB, free: 8.574 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.5342, allocations: 198.6 kB / 1.484 GB, free: 8.379 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.5345, allocations: 95.38 kB / 1.484 GB, free: 8.285 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.5347, allocations: 71.84 kB / 1.484 GB, free: 8.215 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.000453/0.5352, allocations: 330.5 kB / 1.485 GB, free: 7.891 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003359/0.5355, allocations: 148.7 kB / 1.485 GB, free: 7.742 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003926/0.5359, allocations: 167.4 kB / 1.485 GB, free: 7.578 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.5361, allocations: 123.4 kB / 1.485 GB, free: 7.457 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.5361, allocations: 24 kB / 1.485 GB, free: 7.434 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 3.726e-05/0.5362, allocations: 20 kB / 1.485 GB, free: 7.414 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 9.972e-05/0.5363, allocations: 75.75 kB / 1.485 GB, free: 7.34 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.5364, allocations: 131.3 kB / 1.485 GB, free: 7.211 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.5368, allocations: 298.5 kB / 1.485 GB, free: 6.918 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5368, allocations: 4 kB / 1.485 GB, free: 6.914 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5368, allocations: 0 / 1.485 GB, free: 6.914 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.5368, allocations: 0 / 1.485 GB, free: 6.914 MB / 1.186 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.0006053/0.5374, allocations: 0.5104 MB / 1.486 GB, free: 6.355 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.5375, allocations: 12.92 kB / 1.486 GB, free: 6.344 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.229e-05/0.5375, allocations: 62.53 kB / 1.486 GB, free: 6.273 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.5376, allocations: 31.8 kB / 1.486 GB, free: 6.242 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.538, allocations: 282.5 kB / 1.486 GB, free: 5.926 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.5381, allocations: 20.56 kB / 1.486 GB, free: 5.906 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.5381, allocations: 28 kB / 1.486 GB, free: 5.879 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.5386, allocations: 316 kB / 1.487 GB, free: 5.523 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.5386, allocations: 7.875 kB / 1.487 GB, free: 5.516 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.5386, allocations: 12 kB / 1.487 GB, free: 5.504 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.5387, allocations: 11.94 kB / 1.487 GB, free: 5.492 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.5389, allocations: 143.7 kB / 1.487 GB, free: 5.352 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.5404, allocations: 1.816 MB / 1.489 GB, free: 3.438 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.5405, allocations: 181.1 kB / 1.489 GB, free: 3.25 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.5406, allocations: 84.08 kB / 1.489 GB, free: 3.164 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.5406, allocations: 75.28 kB / 1.489 GB, free: 3.09 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/0.5407, allocations: 109.8 kB / 1.489 GB, free: 2.973 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.5407, allocations: 3.938 kB / 1.489 GB, free: 2.969 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001177/0.5408, allocations: 57.45 kB / 1.489 GB, free: 2.906 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.5409, allocations: 130.7 kB / 1.489 GB, free: 2.766 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004354/0.5413, allocations: 373.7 kB / 1.49 GB, free: 2.395 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.5413, allocations: 25.7 kB / 1.49 GB, free: 2.363 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.5415, allocations: 167.9 kB / 1.49 GB, free: 2.195 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/0.5415, allocations: 0 / 1.49 GB, free: 2.195 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.5415, allocations: 21.7 kB / 1.49 GB, free: 2.168 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.5417, allocations: 338.8 kB / 1.49 GB, free: 1.828 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.5417, allocations: 4 kB / 1.49 GB, free: 1.824 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.955e-05/0.5417, allocations: 36.3 kB / 1.49 GB, free: 1.773 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.638e-05/0.5418, allocations: 48.28 kB / 1.49 GB, free: 1.711 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.5418, allocations: 8 kB / 1.49 GB, free: 1.703 MB / 1.186 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001873/0.542, allocations: 93.38 kB / 1.49 GB, free: 1.605 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.542, allocations: 6.031 kB / 1.49 GB, free: 1.602 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.542, allocations: 4 kB / 1.49 GB, free: 1.598 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.542, allocations: 0 / 1.49 GB, free: 1.598 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.5421, allocations: 11.94 kB / 1.49 GB, free: 1.586 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5421, allocations: 112 / 1.49 GB, free: 1.586 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.605e-05/0.5422, allocations: 31.81 kB / 1.49 GB, free: 1.555 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.5422, allocations: 8 kB / 1.49 GB, free: 1.547 MB / 1.186 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.0001572/0.5424, allocations: 213.1 kB / 1.491 GB, free: 1.328 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/0.5425, allocations: 132.7 kB / 1.491 GB, free: 1.191 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.541e-05/0.5426, allocations: 138.9 kB / 1.491 GB, free: 1.051 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.988e-05/0.5426, allocations: 176.3 kB / 1.491 GB, free: 0.8711 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-05/0.5427, allocations: 184.2 kB / 1.491 GB, free: 0.6836 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.242e-05/0.5428, allocations: 180.3 kB / 1.491 GB, free: 0.5 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.5432, allocations: 485.3 kB / 1.492 GB, free: 15.96 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.994e-05/0.5432, allocations: 108.9 kB / 1.492 GB, free: 15.85 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.5433, allocations: 109 kB / 1.492 GB, free: 15.74 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.809e-05/0.5433, allocations: 188.2 kB / 1.492 GB, free: 15.55 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.828e-05/0.5434, allocations: 180.3 kB / 1.492 GB, free: 15.36 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.077e-05/0.5435, allocations: 176.3 kB / 1.493 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.867e-05/0.5435, allocations: 184.2 kB / 1.493 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.5437, allocations: 335.8 kB / 1.493 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.5439, allocations: 221.9 kB / 1.493 GB, free: 14.4 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.544, allocations: 180.2 kB / 1.493 GB, free: 14.22 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.5441, allocations: 101 kB / 1.494 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.5442, allocations: 180.3 kB / 1.494 GB, free: 13.93 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.5443, allocations: 108.9 kB / 1.494 GB, free: 13.82 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003057/0.5446, allocations: 271.2 kB / 1.494 GB, free: 13.55 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5446, allocations: 0 / 1.494 GB, free: 13.55 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002931/0.5449, allocations: 35.94 kB / 1.494 GB, free: 13.52 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.0005149/0.5454, allocations: 0.8242 MB / 1.495 GB, free: 12.66 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.5455, allocations: 20.17 kB / 1.495 GB, free: 12.64 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.5455, allocations: 4.062 kB / 1.495 GB, free: 12.64 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.5455, allocations: 4 kB / 1.495 GB, free: 12.64 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008678/0.5463, allocations: 0.5492 MB / 1.495 GB, free: 12.09 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.5495, allocations: 2.694 MB / 1.498 GB, free: 9.289 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.5499, allocations: 0.7558 MB / 1.499 GB, free: 8.508 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.55, allocations: 30.97 kB / 1.499 GB, free: 8.48 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.5501, allocations: 75.41 kB / 1.499 GB, free: 8.406 MB / 1.201 GB Notification: Performance of SimCode: time 1.133e-06/0.5501, allocations: 0 / 1.499 GB, free: 8.406 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.582, allocations: 5.952 MB / 1.505 GB, free: 2.637 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.503/9.085, allocations: 6.219 kB / 1.505 GB, free: 2.633 MB / 1.201 GB " [Timeout remaining time 291] (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_2/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: 15.456827880814672]