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.001649/0.001649, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002301/0.002301, allocations: 218 kB / 23.04 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.595/1.595, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.941/2.941, allocations: 476.7 MB / 0.7714 GB, free: 4.297 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.002043/0.002043, allocations: 67.09 kB / 1.118 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3872, allocations: 170 MB / 1.284 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.004565/0.3918, allocations: 2.751 MB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003475/0.3952, allocations: 1.869 MB / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.3954, allocations: 8 kB / 1.289 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.3955, allocations: 43.45 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005279/0.3961, allocations: 170.8 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009094/0.397, allocations: 388.8 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007314/0.3977, allocations: 0.5061 MB / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.398, allocations: 105.6 kB / 1.29 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.3982, allocations: 199.3 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.3985, allocations: 183.1 kB / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.3985, allocations: 28 kB / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000756/0.3993, allocations: 471.5 kB / 1.291 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.3994, allocations: 79.69 kB / 1.291 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.3996, allocations: 191 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007721/0.4003, allocations: 0.5527 MB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4003, allocations: 0 / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4003, allocations: 0 / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.4004, allocations: 0 / 1.291 GB, free: 4.105 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.001231/0.4016, allocations: 0.6642 MB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.4016, allocations: 8.031 kB / 1.292 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.928e-05/0.4016, allocations: 8.844 kB / 1.292 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.554e-05/0.4017, allocations: 70.72 kB / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.4028, allocations: 128.5 kB / 1.292 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/0.4033, allocations: 241.3 kB / 1.293 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.4033, allocations: 29.02 kB / 1.293 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.4033, allocations: 36.38 kB / 1.293 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007258/0.4041, allocations: 313.8 kB / 1.293 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.4041, allocations: 0 / 1.293 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.4041, allocations: 15.94 kB / 1.293 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.4041, allocations: 8 kB / 1.293 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008386/0.405, allocations: 286.4 kB / 1.293 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.4066, allocations: 0.8741 MB / 1.294 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009506/0.4076, allocations: 270.5 kB / 1.294 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.408, allocations: 120.8 kB / 1.294 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.4081, allocations: 12.38 kB / 1.294 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.4081, allocations: 34.56 kB / 1.294 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.614e-06/0.4081, allocations: 0 / 1.294 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.001341/0.4095, allocations: 394.8 kB / 1.295 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/0.4096, allocations: 59.45 kB / 1.295 GB, free: 432 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.4099, allocations: 341.6 kB / 1.295 GB, free: 80 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.41, allocations: 29.7 kB / 1.295 GB, free: 44 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.4101, allocations: 192.7 kB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.088e-05/0.4102, allocations: 87.22 kB / 1.296 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.4104, allocations: 65.97 kB / 1.296 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4105, allocations: 342.8 kB / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.4109, allocations: 104.5 kB / 1.296 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.4112, allocations: 109 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007531/0.412, allocations: 226.9 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.412, allocations: 0 / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009615/0.413, allocations: 345.9 kB / 1.297 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.413, allocations: 8 kB / 1.297 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.413, allocations: 0 / 1.297 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.413, allocations: 0 / 1.297 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.4134, allocations: 79.86 kB / 1.297 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.4134, allocations: 7.938 kB / 1.297 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.4137, allocations: 43.72 kB / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.4138, allocations: 11.98 kB / 1.297 GB, free: 14.42 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.0001734/0.4139, allocations: 137.8 kB / 1.297 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.4141, allocations: 39.77 kB / 1.297 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.4151, allocations: 370.5 kB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4151, allocations: 4 kB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4151, allocations: 0 / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.4151, allocations: 7.938 kB / 1.297 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.4155, allocations: 328.3 kB / 1.298 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4155, allocations: 0 / 1.298 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.4159, allocations: 59.89 kB / 1.298 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.4159, allocations: 7.984 kB / 1.298 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.4159, allocations: 3.984 kB / 1.298 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.4159, allocations: 4 kB / 1.298 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4159, allocations: 3.938 kB / 1.298 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008727/0.4168, allocations: 299.7 kB / 1.298 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.4169, allocations: 55.7 kB / 1.298 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.417, allocations: 4 kB / 1.298 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.4172, allocations: 23.98 kB / 1.298 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.4173, allocations: 19.84 kB / 1.298 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.4173, allocations: 7.984 kB / 1.298 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002707/0.4176, allocations: 255.1 kB / 1.298 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4176, allocations: 0 / 1.298 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003915/0.4179, allocations: 107.8 kB / 1.298 GB, free: 12.64 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.001287/0.4192, allocations: 0.8736 MB / 1.299 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008138/0.42, allocations: 235.7 kB / 1.3 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.42, allocations: 0 / 1.3 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.4204, allocations: 111.8 kB / 1.3 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.4211, allocations: 107.4 kB / 1.3 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005795/0.4269, allocations: 3.045 MB / 1.303 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.4273, allocations: 0.7833 MB / 1.303 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003064/0.4276, allocations: 66.83 kB / 1.304 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.4278, allocations: 111.4 kB / 1.304 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.4278, allocations: 4 kB / 1.304 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03539/0.4632, allocations: 9.032 MB / 1.312 GB, free: 14.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.42, allocations: 6.781 kB / 1.312 GB, free: 14.35 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: 19.834240711003076]