Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.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: 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.002721/0.002721, allocations: 218.7 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.615/1.615, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.993/2.993, allocations: 476.8 MB / 0.7715 GB, free: 3.855 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Convection_Examples_Exterior",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.002066/0.002066, allocations: 64.59 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.374, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.004443/0.3785, allocations: 2.522 MB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003739/0.3822, allocations: 1.725 MB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.3824, allocations: 12 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.3825, allocations: 47.45 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000535/0.3831, allocations: 154.8 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000938/0.384, allocations: 388.4 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008322/0.3848, allocations: 0.4984 MB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.3851, allocations: 109.6 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.3854, allocations: 203.2 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.3857, allocations: 179.2 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.35e-05/0.3857, allocations: 35.94 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008231/0.3865, allocations: 467.5 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.3866, allocations: 71.7 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.3868, allocations: 159.2 kB / 1.29 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007636/0.3876, allocations: 0.5692 MB / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3876, allocations: 0 / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3876, allocations: 0 / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.3876, allocations: 0 / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001169/0.3887, allocations: 0.6564 MB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3888, allocations: 8.031 kB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.118e-05/0.3888, allocations: 8.844 kB / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.824e-05/0.3889, allocations: 70.72 kB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.39, allocations: 124.5 kB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.3905, allocations: 249.3 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.3905, allocations: 25.03 kB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.3906, allocations: 36.31 kB / 1.292 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007963/0.3914, allocations: 317.9 kB / 1.292 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.3914, allocations: 0 / 1.292 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.3914, allocations: 20 kB / 1.292 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.3914, allocations: 8 kB / 1.292 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008852/0.3923, allocations: 286.3 kB / 1.293 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.3941, allocations: 0.7962 MB / 1.294 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009413/0.395, allocations: 281.6 kB / 1.294 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.3954, allocations: 116.8 kB / 1.294 GB, free: 440 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.3955, allocations: 19.91 kB / 1.294 GB, free: 420 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.3955, allocations: 42.56 kB / 1.294 GB, free: 368 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.3955, allocations: 0 / 1.294 GB, free: 368 kB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.001393/0.3969, allocations: 384.1 kB / 1.294 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.397, allocations: 55.34 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/0.3974, allocations: 345.6 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.3974, allocations: 33.7 kB / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.3976, allocations: 184.7 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.648e-05/0.3977, allocations: 95.59 kB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.3978, allocations: 57.97 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.398, allocations: 342.8 kB / 1.295 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.3983, allocations: 104.5 kB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.3987, allocations: 113 kB / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/0.3994, allocations: 226.9 kB / 1.296 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3994, allocations: 0 / 1.296 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009817/0.4004, allocations: 341.9 kB / 1.296 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4004, allocations: 4 kB / 1.296 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.4004, allocations: 4 kB / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4004, allocations: 0 / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.4009, allocations: 83.8 kB / 1.296 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4009, allocations: 0 / 1.296 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.4012, allocations: 43.72 kB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.4012, allocations: 15.98 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (33): * Single equations (assignments): 33 * 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.0001653/0.4014, allocations: 141.8 kB / 1.296 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.4015, allocations: 35.77 kB / 1.296 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.4026, allocations: 372.1 kB / 1.297 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4026, allocations: 4 kB / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4026, allocations: 0 / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.4026, allocations: 8.031 kB / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.403, allocations: 288.4 kB / 1.297 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.403, allocations: 0 / 1.297 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.4034, allocations: 51.95 kB / 1.297 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4034, allocations: 4 kB / 1.297 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.4034, allocations: 7.984 kB / 1.297 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-05/0.4034, allocations: 4 kB / 1.297 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4034, allocations: 3.938 kB / 1.297 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008593/0.4043, allocations: 296.6 kB / 1.297 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.4044, allocations: 59.66 kB / 1.298 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.4045, allocations: 4 kB / 1.298 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.4048, allocations: 27.91 kB / 1.298 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.4048, allocations: 19.91 kB / 1.298 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.4048, allocations: 8 kB / 1.298 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002842/0.4051, allocations: 255.2 kB / 1.298 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4051, allocations: 0 / 1.298 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004009/0.4055, allocations: 107.8 kB / 1.298 GB, free: 12.16 MB / 0.9981 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 (21): * Single equations (assignments): 21 * 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.001436/0.407, allocations: 0.8758 MB / 1.299 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008493/0.4078, allocations: 231.7 kB / 1.299 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4078, allocations: 0 / 1.299 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.4082, allocations: 109.9 kB / 1.299 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.4088, allocations: 107 kB / 1.299 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005718/0.4145, allocations: 3.043 MB / 1.302 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.4147, allocations: 173 kB / 1.302 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000353/0.4151, allocations: 78.8 kB / 1.302 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.4153, allocations: 115.4 kB / 1.303 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of SimCode: time 2.003e-06/0.4153, allocations: 3.938 kB / 1.303 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.4491, allocations: 9.642 MB / 1.312 GB, free: 13.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.85, allocations: 15.89 kB / 1.312 GB, free: 13.95 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --stepSize=0.719712 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.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: 20.256855136016384]