Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001699/0.001699, allocations: 97.31 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.00238/0.00238, allocations: 219.6 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.531/1.531, 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 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.906/2.906, 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.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.002242/0.002242, allocations: 63.64 kB / 1.118 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3908, allocations: 170 MB / 1.284 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003281/0.3941, allocations: 1.506 MB / 1.286 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.3957, allocations: 0.7571 MB / 1.286 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.899e-05/0.3958, allocations: 0 / 1.286 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.3958, allocations: 7.875 kB / 1.286 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.3959, allocations: 15.86 kB / 1.286 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007136/0.3966, allocations: 143.6 kB / 1.286 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.3968, allocations: 83.77 kB / 1.287 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.325e-05/0.3969, allocations: 12.11 kB / 1.287 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.397, allocations: 43.86 kB / 1.287 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.3971, allocations: 39.88 kB / 1.287 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.3971, allocations: 4 kB / 1.287 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000317/0.3974, allocations: 147.7 kB / 1.287 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.3975, allocations: 19.97 kB / 1.287 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.3975, allocations: 31.8 kB / 1.287 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.3978, allocations: 139.5 kB / 1.287 GB, free: 384 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3978, allocations: 4 kB / 1.287 GB, free: 380 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3978, allocations: 4 kB / 1.287 GB, free: 376 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.3978, allocations: 0 / 1.287 GB, free: 376 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007393/0.3986, allocations: 355.6 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3986, allocations: 8.031 kB / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.753e-05/0.3986, allocations: 8.125 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.3987, allocations: 30.75 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003585/0.399, allocations: 28.91 kB / 1.287 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.3993, allocations: 134.3 kB / 1.288 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.3993, allocations: 12.36 kB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.3993, allocations: 8.125 kB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.3995, allocations: 65.66 kB / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3996, allocations: 0 / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3996, allocations: 4 kB / 1.288 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.3996, allocations: 0 / 1.288 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.3997, allocations: 47.89 kB / 1.288 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006545/0.4004, allocations: 267.9 kB / 1.288 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.4005, allocations: 46.55 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.4006, allocations: 28.97 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.4006, allocations: 4 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.4008, allocations: 79.38 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.714e-06/0.4008, allocations: 0 / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004801/0.4013, allocations: 141.6 kB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.4014, allocations: 55.41 kB / 1.288 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.4015, allocations: 122.1 kB / 1.288 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.4015, allocations: 29.7 kB / 1.288 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.4016, allocations: 92.09 kB / 1.288 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.4016, allocations: 23.83 kB / 1.288 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.892e-05/0.4017, allocations: 29.7 kB / 1.289 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4019, allocations: 322.8 kB / 1.289 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.045e-05/0.402, allocations: 23.92 kB / 1.289 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.4021, allocations: 50.55 kB / 1.289 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.4023, allocations: 78.53 kB / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4023, allocations: 7.938 kB / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002863/0.4026, allocations: 109.6 kB / 1.289 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.4026, allocations: 10.02 kB / 1.289 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4026, allocations: 0 / 1.289 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.4026, allocations: 4 kB / 1.289 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.4027, allocations: 12 kB / 1.289 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4028, allocations: 7.938 kB / 1.289 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.864e-05/0.4028, allocations: 19.91 kB / 1.289 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.4029, allocations: 4 kB / 1.289 GB, free: 13.92 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001234/0.403, allocations: 113.8 kB / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.403, allocations: 7.953 kB / 1.289 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.403, allocations: 16.36 kB / 1.289 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.403, allocations: 0 / 1.289 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4031, allocations: 0 / 1.289 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4031, allocations: 3.938 kB / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.4036, allocations: 345.6 kB / 1.29 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4036, allocations: 0 / 1.29 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.4037, allocations: 7.984 kB / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4037, allocations: 0 / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.4037, allocations: 3.938 kB / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.4037, allocations: 4 kB / 1.29 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4037, allocations: 0 / 1.29 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.404, allocations: 215.9 kB / 1.29 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.4041, allocations: 15.89 kB / 1.29 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.4041, allocations: 7.938 kB / 1.29 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/0.4042, allocations: 4 kB / 1.29 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.4042, allocations: 3.984 kB / 1.29 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.4042, allocations: 4 kB / 1.29 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.757e-05/0.4043, allocations: 92.64 kB / 1.29 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4043, allocations: 0 / 1.29 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003377/0.4046, allocations: 43.92 kB / 1.29 GB, free: 12.98 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001049/0.4057, allocations: 0.8178 MB / 1.291 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.406, allocations: 79.81 kB / 1.291 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.406, allocations: 0 / 1.291 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.466e-05/0.4061, allocations: 27.98 kB / 1.291 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.4064, allocations: 11.98 kB / 1.291 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.4083, allocations: 1.504 MB / 1.292 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.698e-05/0.4084, allocations: 75.27 kB / 1.292 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.4084, allocations: 4 kB / 1.292 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.4085, allocations: 31.41 kB / 1.292 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.4085, allocations: 0 / 1.292 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.4345, allocations: 2.895 MB / 1.295 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12, allocations: 12.33 kB / 1.295 GB, free: 7.578 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.821396165993065] Failed to read output from testmodel.py, exit status != 0: 12.175230434979312 12.203690073 11.800800971 Calling exit ...