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.001804/0.001804, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002324/0.002324, allocations: 216.1 kB / 23.03 MB, free: 4.922 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.179/3.179, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001955/0.001955, allocations: 59.88 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3303, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1876/0.5178, allocations: 150.4 MB / 1.474 GB, free: 10.48 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00784/0.5256, allocations: 5.515 MB / 1.479 GB, free: 4.949 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003676/0.526, allocations: 11.94 kB / 1.479 GB, free: 4.938 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007391/0.5268, allocations: 202.7 kB / 1.479 GB, free: 4.738 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.5272, allocations: 87.38 kB / 1.479 GB, free: 4.652 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.5287, allocations: 0.5217 MB / 1.48 GB, free: 4.129 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007442/0.5295, allocations: 414.7 kB / 1.48 GB, free: 3.723 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.5298, allocations: 96.2 kB / 1.48 GB, free: 3.621 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004596/0.5302, allocations: 199.2 kB / 1.48 GB, free: 3.426 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.5306, allocations: 159.3 kB / 1.481 GB, free: 3.27 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.5306, allocations: 16 kB / 1.481 GB, free: 3.254 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008439/0.5314, allocations: 374.9 kB / 1.481 GB, free: 2.887 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.5316, allocations: 67.81 kB / 1.481 GB, free: 2.82 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.5317, allocations: 95.53 kB / 1.481 GB, free: 2.727 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007986/0.5325, allocations: 446.4 kB / 1.481 GB, free: 2.289 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5325, allocations: 0 / 1.481 GB, free: 2.289 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5325, allocations: 3.938 kB / 1.481 GB, free: 2.285 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.5325, allocations: 0 / 1.481 GB, free: 2.285 MB / 1.17 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.0006777/0.5332, allocations: 465.3 kB / 1.482 GB, free: 1.801 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.5332, allocations: 12.03 kB / 1.482 GB, free: 1.789 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.886e-05/0.5332, allocations: 8.438 kB / 1.482 GB, free: 1.781 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.441e-05/0.5333, allocations: 58.55 kB / 1.482 GB, free: 1.715 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/0.5336, allocations: 43.84 kB / 1.482 GB, free: 1.672 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.534, allocations: 200.8 kB / 1.482 GB, free: 1.449 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.5342, allocations: 238.1 kB / 1.482 GB, free: 1.164 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.5342, allocations: 23.94 kB / 1.482 GB, free: 1.141 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.5347, allocations: 290 kB / 1.483 GB, free: 0.8203 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.5347, allocations: 3.938 kB / 1.483 GB, free: 0.8164 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.5348, allocations: 12 kB / 1.483 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.5348, allocations: 12 kB / 1.483 GB, free: 0.793 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.5351, allocations: 156.6 kB / 1.483 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.5366, allocations: 1.51 MB / 1.484 GB, free: 15.05 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.5367, allocations: 177.1 kB / 1.485 GB, free: 14.87 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.5368, allocations: 84.14 kB / 1.485 GB, free: 14.78 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.5368, allocations: 75.28 kB / 1.485 GB, free: 14.71 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/0.5368, allocations: 109.8 kB / 1.485 GB, free: 14.59 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.432e-06/0.5368, allocations: 3.938 kB / 1.485 GB, free: 14.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001089/0.537, allocations: 53.5 kB / 1.485 GB, free: 14.53 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.537, allocations: 134.7 kB / 1.485 GB, free: 14.38 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.5374, allocations: 309.8 kB / 1.485 GB, free: 14.07 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.5374, allocations: 25.7 kB / 1.485 GB, free: 14.04 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.5376, allocations: 199.6 kB / 1.486 GB, free: 13.84 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.5376, allocations: 4 kB / 1.486 GB, free: 13.83 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.211e-05/0.5377, allocations: 45.66 kB / 1.486 GB, free: 13.78 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5378, allocations: 326.8 kB / 1.486 GB, free: 13.45 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.5379, allocations: 35.97 kB / 1.486 GB, free: 13.42 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.5381, allocations: 162.3 kB / 1.486 GB, free: 13.2 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.5384, allocations: 200.8 kB / 1.486 GB, free: 12.94 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5384, allocations: 0 / 1.486 GB, free: 12.94 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004559/0.5388, allocations: 217.1 kB / 1.486 GB, free: 12.72 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5388, allocations: 9.875 kB / 1.486 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.5389, allocations: 11.97 kB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5389, allocations: 4 kB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.539, allocations: 43.92 kB / 1.487 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.539, allocations: 7.938 kB / 1.487 GB, free: 12.65 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.5392, allocations: 32.27 kB / 1.487 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.5393, allocations: 16 kB / 1.487 GB, free: 12.6 MB / 1.186 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.000196/0.5395, allocations: 221.5 kB / 1.487 GB, free: 12.38 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.5396, allocations: 120.8 kB / 1.487 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.926e-05/0.5396, allocations: 125.7 kB / 1.487 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-05/0.5397, allocations: 176.3 kB / 1.487 GB, free: 11.94 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.679e-05/0.5398, allocations: 184.3 kB / 1.487 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.7e-05/0.5399, allocations: 188.2 kB / 1.488 GB, free: 11.56 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.5402, allocations: 436.2 kB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.596e-05/0.5402, allocations: 112.9 kB / 1.488 GB, free: 10.97 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.5403, allocations: 108.9 kB / 1.488 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-05/0.5404, allocations: 184.2 kB / 1.488 GB, free: 10.67 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/0.5404, allocations: 184.3 kB / 1.489 GB, free: 10.48 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.13e-05/0.5405, allocations: 176.3 kB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.238e-05/0.5406, allocations: 184.2 kB / 1.489 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.5408, allocations: 327.6 kB / 1.489 GB, free: 9.77 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.5409, allocations: 132.8 kB / 1.489 GB, free: 9.633 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.541, allocations: 180.2 kB / 1.489 GB, free: 9.449 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.5411, allocations: 104.9 kB / 1.49 GB, free: 9.34 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/0.5412, allocations: 188.2 kB / 1.49 GB, free: 9.148 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.5412, allocations: 104.9 kB / 1.49 GB, free: 9.039 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002589/0.5415, allocations: 221.2 kB / 1.49 GB, free: 8.828 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5415, allocations: 0 / 1.49 GB, free: 8.828 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004405/0.5419, allocations: 55.89 kB / 1.49 GB, free: 8.773 MB / 1.186 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.00059/0.5425, allocations: 0.8515 MB / 1.491 GB, free: 7.891 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.5428, allocations: 83.77 kB / 1.491 GB, free: 7.809 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5428, allocations: 0 / 1.491 GB, free: 7.809 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.5428, allocations: 0 / 1.491 GB, free: 7.809 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.5433, allocations: 485.2 kB / 1.492 GB, free: 7.332 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.5464, allocations: 2.505 MB / 1.494 GB, free: 4.633 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.5466, allocations: 128.9 kB / 1.494 GB, free: 4.488 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000142/0.5467, allocations: 33.94 kB / 1.494 GB, free: 4.457 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.5468, allocations: 55.42 kB / 1.494 GB, free: 4.402 MB / 1.186 GB Notification: Performance of SimCode: time 1.012e-06/0.5468, allocations: 0 / 1.494 GB, free: 4.402 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.574, allocations: 4.3 MB / 1.498 GB, free: 284 kB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.31, allocations: 13.55 kB / 1.498 GB, free: 280 kB / 1.186 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: 19.04591630701907]