Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001275/0.001275, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001452/0.001452, allocations: 216.2 kB / 22.26 MB, free: 5.078 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.284/3.284, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_latest_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.002026/0.002026, allocations: 65.61 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.366, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2005/0.5665, allocations: 174.1 MB / 1.523 GB, free: 9.715 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.007499/0.574, allocations: 6.11 MB / 1.529 GB, free: 3.582 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003253/0.5744, allocations: 11.94 kB / 1.529 GB, free: 3.57 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0006038/0.575, allocations: 186.7 kB / 1.529 GB, free: 3.387 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.5753, allocations: 87.44 kB / 1.529 GB, free: 3.301 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.5766, allocations: 0.5528 MB / 1.53 GB, free: 2.746 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.000505/0.5771, allocations: 422.4 kB / 1.53 GB, free: 2.332 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.5773, allocations: 96.19 kB / 1.53 GB, free: 2.234 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.5777, allocations: 191.3 kB / 1.53 GB, free: 2.047 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.5779, allocations: 167.3 kB / 1.53 GB, free: 1.883 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.5779, allocations: 16 kB / 1.53 GB, free: 1.867 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008703/0.5788, allocations: 0.4948 MB / 1.531 GB, free: 1.371 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 9.923e-05/0.5789, allocations: 75.75 kB / 1.531 GB, free: 1.297 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.579, allocations: 107.5 kB / 1.531 GB, free: 1.191 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.000686/0.5797, allocations: 478.3 kB / 1.532 GB, free: 0.7227 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5797, allocations: 3.938 kB / 1.532 GB, free: 0.7188 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5797, allocations: 0 / 1.532 GB, free: 0.7188 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.5797, allocations: 0 / 1.532 GB, free: 0.7188 MB / 1.217 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.0005998/0.5803, allocations: 465.3 kB / 1.532 GB, free: 240 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.5804, allocations: 12.03 kB / 1.532 GB, free: 228 kB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.118e-05/0.5804, allocations: 58.55 kB / 1.532 GB, free: 160 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/0.5807, allocations: 43.8 kB / 1.532 GB, free: 116 kB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.5811, allocations: 210.6 kB / 1.532 GB, free: 15.88 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.5813, allocations: 234.1 kB / 1.533 GB, free: 15.6 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.5813, allocations: 24 kB / 1.533 GB, free: 15.58 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.5818, allocations: 293.9 kB / 1.533 GB, free: 15.25 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.5818, allocations: 3.938 kB / 1.533 GB, free: 15.25 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.5818, allocations: 12 kB / 1.533 GB, free: 15.24 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.5818, allocations: 8 kB / 1.533 GB, free: 15.23 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.5821, allocations: 156.6 kB / 1.533 GB, free: 15.08 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.5836, allocations: 1.556 MB / 1.535 GB, free: 13.44 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 9.213e-05/0.5837, allocations: 169.1 kB / 1.535 GB, free: 13.27 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.5838, allocations: 80.14 kB / 1.535 GB, free: 13.18 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.5838, allocations: 75.28 kB / 1.535 GB, free: 13.11 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.857e-05/0.5838, allocations: 117.8 kB / 1.535 GB, free: 12.98 MB / 1.232 GB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/0.5838, allocations: 0 / 1.535 GB, free: 12.98 MB / 1.232 GB Notification: Performance of matching and sorting (n=0): time 0.0001041/0.584, allocations: 53.55 kB / 1.535 GB, free: 12.93 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.584, allocations: 126.7 kB / 1.535 GB, free: 12.79 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.5844, allocations: 301.8 kB / 1.535 GB, free: 12.48 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.5844, allocations: 25.7 kB / 1.535 GB, free: 12.45 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.5846, allocations: 199.5 kB / 1.536 GB, free: 12.25 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-06/0.5846, allocations: 7.984 kB / 1.536 GB, free: 12.25 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/0.5846, allocations: 49.66 kB / 1.536 GB, free: 12.19 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.5848, allocations: 326.8 kB / 1.536 GB, free: 11.86 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.5849, allocations: 35.97 kB / 1.536 GB, free: 11.83 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.5851, allocations: 162.5 kB / 1.536 GB, free: 11.61 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.5853, allocations: 196.8 kB / 1.536 GB, free: 11.36 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5853, allocations: 4 kB / 1.536 GB, free: 11.35 MB / 1.232 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004408/0.5858, allocations: 209.7 kB / 1.537 GB, free: 11.14 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.5858, allocations: 16.03 kB / 1.537 GB, free: 11.12 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.5858, allocations: 4 kB / 1.537 GB, free: 11.12 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.5858, allocations: 4 kB / 1.537 GB, free: 11.12 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.586, allocations: 43.92 kB / 1.537 GB, free: 11.07 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.586, allocations: 11.92 kB / 1.537 GB, free: 11.06 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.5862, allocations: 31.73 kB / 1.537 GB, free: 11.03 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.5862, allocations: 12 kB / 1.537 GB, free: 11.02 MB / 1.232 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.0001593/0.5864, allocations: 224.9 kB / 1.537 GB, free: 10.79 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.5864, allocations: 128.8 kB / 1.537 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.726e-05/0.5865, allocations: 125.8 kB / 1.537 GB, free: 10.52 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.603e-05/0.5866, allocations: 184.3 kB / 1.537 GB, free: 10.34 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.54e-05/0.5867, allocations: 180.3 kB / 1.538 GB, free: 10.15 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.1e-05/0.5867, allocations: 188.2 kB / 1.538 GB, free: 9.961 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.5871, allocations: 452.2 kB / 1.538 GB, free: 9.469 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.627e-05/0.5871, allocations: 104.9 kB / 1.538 GB, free: 9.359 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/0.5872, allocations: 108.9 kB / 1.538 GB, free: 9.246 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.285e-05/0.5872, allocations: 180.2 kB / 1.539 GB, free: 9.062 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.496e-05/0.5873, allocations: 188.2 kB / 1.539 GB, free: 8.871 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.125e-05/0.5874, allocations: 176.3 kB / 1.539 GB, free: 8.691 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.037e-05/0.5874, allocations: 184.2 kB / 1.539 GB, free: 8.504 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.5876, allocations: 327.6 kB / 1.539 GB, free: 8.16 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-05/0.5877, allocations: 132.8 kB / 1.54 GB, free: 8.023 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.624e-05/0.5878, allocations: 180.3 kB / 1.54 GB, free: 7.84 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.5879, allocations: 104.9 kB / 1.54 GB, free: 7.73 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/0.588, allocations: 188.2 kB / 1.54 GB, free: 7.539 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/0.5881, allocations: 108.9 kB / 1.54 GB, free: 7.426 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00025/0.5883, allocations: 221.2 kB / 1.54 GB, free: 7.211 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5883, allocations: 0 / 1.54 GB, free: 7.211 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0003767/0.5887, allocations: 47.94 kB / 1.54 GB, free: 7.164 MB / 1.232 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.0005918/0.5893, allocations: 0.8554 MB / 1.541 GB, free: 6.277 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.5895, allocations: 79.78 kB / 1.541 GB, free: 6.199 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5895, allocations: 0 / 1.541 GB, free: 6.199 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.5895, allocations: 0 / 1.541 GB, free: 6.199 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.5901, allocations: 493.2 kB / 1.542 GB, free: 5.715 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.5927, allocations: 2.486 MB / 1.544 GB, free: 3.039 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.5931, allocations: 0.7476 MB / 1.545 GB, free: 2.262 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.5932, allocations: 33.94 kB / 1.545 GB, free: 2.23 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.402e-05/0.5933, allocations: 55.42 kB / 1.545 GB, free: 2.176 MB / 1.232 GB Notification: Performance of SimCode: time 3.11e-07/0.5933, allocations: 0 / 1.545 GB, free: 2.176 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.6243, allocations: 4.235 MB / 1.549 GB, free: 14.08 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.72, allocations: 10.84 kB / 1.549 GB, free: 14.07 MB / 1.248 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.440746851963922]