Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.001859/0.001859, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002405/0.002405, allocations: 218.1 kB / 22.25 MB, free: 5.125 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.961 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.188/3.188, allocations: 0.49 GB / 0.7951 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] 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.AirToOutlet,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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.002058/0.002058, allocations: 73.48 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3317, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2091/0.5408, allocations: 174.1 MB / 1.496 GB, free: 3.098 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008595/0.5494, allocations: 6.114 MB / 1.502 GB, free: 12.96 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003755/0.5498, allocations: 11.94 kB / 1.502 GB, free: 12.95 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007581/0.5505, allocations: 190.7 kB / 1.502 GB, free: 12.77 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0005365/0.5511, allocations: 95.42 kB / 1.502 GB, free: 12.67 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.5526, allocations: 0.5449 MB / 1.503 GB, free: 12.12 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0006707/0.5533, allocations: 406.8 kB / 1.503 GB, free: 11.73 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/0.5536, allocations: 100.2 kB / 1.503 GB, free: 11.62 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00043/0.554, allocations: 195.2 kB / 1.503 GB, free: 11.43 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.5543, allocations: 155.4 kB / 1.504 GB, free: 11.28 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.5544, allocations: 27.94 kB / 1.504 GB, free: 11.25 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.5554, allocations: 0.5025 MB / 1.504 GB, free: 10.75 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.5555, allocations: 67.77 kB / 1.504 GB, free: 10.68 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.5557, allocations: 107.5 kB / 1.504 GB, free: 10.57 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0009273/0.5566, allocations: 474.3 kB / 1.505 GB, free: 10.11 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5566, allocations: 3.938 kB / 1.505 GB, free: 10.11 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5566, allocations: 0 / 1.505 GB, free: 10.11 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.5566, allocations: 0 / 1.505 GB, free: 10.11 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007139/0.5573, allocations: 457.3 kB / 1.505 GB, free: 9.629 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5574, allocations: 12.03 kB / 1.505 GB, free: 9.617 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.486e-05/0.5574, allocations: 62.55 kB / 1.505 GB, free: 9.547 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/0.5577, allocations: 39.84 kB / 1.505 GB, free: 9.508 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.5581, allocations: 206.5 kB / 1.505 GB, free: 9.281 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.5584, allocations: 242.1 kB / 1.506 GB, free: 8.992 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.5584, allocations: 20 kB / 1.506 GB, free: 8.973 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.5589, allocations: 305.8 kB / 1.506 GB, free: 8.641 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5589, allocations: 0 / 1.506 GB, free: 8.641 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.559, allocations: 8 kB / 1.506 GB, free: 8.633 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.559, allocations: 4 kB / 1.506 GB, free: 8.629 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.5593, allocations: 160.6 kB / 1.506 GB, free: 8.473 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.5609, allocations: 1.545 MB / 1.508 GB, free: 6.848 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.561, allocations: 177.1 kB / 1.508 GB, free: 6.664 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.561, allocations: 80.14 kB / 1.508 GB, free: 6.582 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.5611, allocations: 75.28 kB / 1.508 GB, free: 6.508 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.284e-05/0.5611, allocations: 113.8 kB / 1.508 GB, free: 6.387 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.5611, allocations: 4 kB / 1.508 GB, free: 6.383 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001118/0.5612, allocations: 45.56 kB / 1.508 GB, free: 6.332 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.5613, allocations: 134.6 kB / 1.508 GB, free: 6.188 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.5617, allocations: 305.8 kB / 1.509 GB, free: 5.871 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.5617, allocations: 25.7 kB / 1.509 GB, free: 5.84 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.5619, allocations: 199.6 kB / 1.509 GB, free: 5.641 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-06/0.5619, allocations: 3.984 kB / 1.509 GB, free: 5.637 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-05/0.562, allocations: 45.66 kB / 1.509 GB, free: 5.586 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5621, allocations: 330.8 kB / 1.509 GB, free: 5.254 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.634e-05/0.5622, allocations: 39.97 kB / 1.509 GB, free: 5.215 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.5624, allocations: 158.7 kB / 1.509 GB, free: 5 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.5627, allocations: 196.8 kB / 1.509 GB, free: 4.746 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.5627, allocations: 4 kB / 1.509 GB, free: 4.742 MB / 1.201 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004528/0.5632, allocations: 217.7 kB / 1.51 GB, free: 4.523 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.5632, allocations: 7.938 kB / 1.51 GB, free: 4.516 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.5632, allocations: 12.03 kB / 1.51 GB, free: 4.504 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.5632, allocations: 4 kB / 1.51 GB, free: 4.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.5634, allocations: 39.86 kB / 1.51 GB, free: 4.461 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.5634, allocations: 15.92 kB / 1.51 GB, free: 4.445 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.5636, allocations: 31.73 kB / 1.51 GB, free: 4.414 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.5636, allocations: 12 kB / 1.51 GB, free: 4.402 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001823/0.5638, allocations: 221.5 kB / 1.51 GB, free: 4.176 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.383e-05/0.5639, allocations: 128.8 kB / 1.51 GB, free: 4.043 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.52e-05/0.564, allocations: 133.6 kB / 1.51 GB, free: 3.906 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.883e-05/0.5641, allocations: 184.3 kB / 1.51 GB, free: 3.719 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-05/0.5642, allocations: 180.2 kB / 1.511 GB, free: 3.535 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-05/0.5643, allocations: 180.2 kB / 1.511 GB, free: 3.352 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.5647, allocations: 452.2 kB / 1.511 GB, free: 2.859 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-05/0.5647, allocations: 116.9 kB / 1.511 GB, free: 2.738 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.5648, allocations: 101 kB / 1.511 GB, free: 2.633 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.236e-05/0.5649, allocations: 184.1 kB / 1.512 GB, free: 2.445 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-05/0.565, allocations: 176.3 kB / 1.512 GB, free: 2.266 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-05/0.565, allocations: 180.3 kB / 1.512 GB, free: 2.082 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.056e-05/0.5651, allocations: 184.2 kB / 1.512 GB, free: 1.895 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.5653, allocations: 327.6 kB / 1.512 GB, free: 1.551 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.5654, allocations: 128.8 kB / 1.513 GB, free: 1.418 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.5655, allocations: 180.3 kB / 1.513 GB, free: 1.234 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.5657, allocations: 104.9 kB / 1.513 GB, free: 1.125 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/0.5658, allocations: 188.2 kB / 1.513 GB, free: 0.9336 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.5658, allocations: 108.9 kB / 1.513 GB, free: 0.8203 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002569/0.5661, allocations: 217.2 kB / 1.513 GB, free: 0.6133 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5661, allocations: 0 / 1.513 GB, free: 0.6133 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004723/0.5666, allocations: 55.89 kB / 1.513 GB, free: 0.5586 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.0006313/0.5672, allocations: 0.8515 MB / 1.514 GB, free: 15.68 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.5674, allocations: 80.09 kB / 1.514 GB, free: 15.6 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5674, allocations: 0 / 1.514 GB, free: 15.6 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 2.405e-06/0.5674, allocations: 0 / 1.514 GB, free: 15.6 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005982/0.568, allocations: 496.8 kB / 1.515 GB, free: 15.11 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.571, allocations: 2.5 MB / 1.517 GB, free: 12.42 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.5714, allocations: 0.7398 MB / 1.518 GB, free: 11.65 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.5715, allocations: 41.88 kB / 1.518 GB, free: 11.61 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.5716, allocations: 51.42 kB / 1.518 GB, free: 11.56 MB / 1.217 GB Notification: Performance of SimCode: time 8.71e-07/0.5716, allocations: 0 / 1.518 GB, free: 11.56 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.6054, allocations: 4.239 MB / 1.522 GB, free: 7.457 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.69, allocations: 4.562 kB / 1.522 GB, free: 7.453 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.459798521827906]