Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.001209/0.001209, 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.001717/0.001717, allocations: 218.1 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 8 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.825/2.825, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] 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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.002074/0.002074, allocations: 59.91 kB / 1.118 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3825, allocations: 169.9 MB / 1.284 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002902/0.3854, allocations: 1.533 MB / 1.286 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.3869, allocations: 0.8271 MB / 1.286 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.387, allocations: 0 / 1.286 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.387, allocations: 3.938 kB / 1.286 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.367e-05/0.387, allocations: 11.86 kB / 1.286 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.3876, allocations: 143.5 kB / 1.287 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.3877, allocations: 75.83 kB / 1.287 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.3878, allocations: 20.06 kB / 1.287 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.388, allocations: 47.83 kB / 1.287 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.388, allocations: 31.91 kB / 1.287 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.3881, allocations: 8 kB / 1.287 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.3883, allocations: 143.7 kB / 1.287 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.3884, allocations: 19.92 kB / 1.287 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.44e-05/0.3884, allocations: 31.86 kB / 1.287 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.3887, allocations: 147.5 kB / 1.287 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3887, allocations: 7.984 kB / 1.287 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.21e-07/0.3887, allocations: 3.938 kB / 1.287 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.3887, allocations: 4 kB / 1.287 GB, free: 0.6797 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006135/0.3893, allocations: 347.6 kB / 1.287 GB, free: 312 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3893, allocations: 8.031 kB / 1.287 GB, free: 304 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.444e-05/0.3894, allocations: 4.188 kB / 1.287 GB, free: 300 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.3894, allocations: 38.73 kB / 1.287 GB, free: 252 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/0.3897, allocations: 24.92 kB / 1.287 GB, free: 228 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.39, allocations: 142.3 kB / 1.288 GB, free: 60 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.39, allocations: 384 / 1.288 GB, free: 60 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.39, allocations: 8.125 kB / 1.288 GB, free: 52 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.3902, allocations: 69.66 kB / 1.288 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3902, allocations: 0 / 1.288 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3902, allocations: 0 / 1.288 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3902, allocations: 0 / 1.288 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3904, allocations: 39.95 kB / 1.288 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/0.3909, allocations: 291.8 kB / 1.288 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.3911, allocations: 42.56 kB / 1.288 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.366e-05/0.3912, allocations: 28.97 kB / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.3912, allocations: 0 / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.3913, allocations: 79.38 kB / 1.288 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3913, allocations: 0 / 1.288 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003987/0.3917, allocations: 157.5 kB / 1.288 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.3918, allocations: 51.41 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.3919, allocations: 118.1 kB / 1.288 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.3919, allocations: 33.69 kB / 1.289 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.392, allocations: 96.09 kB / 1.289 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.392, allocations: 19.84 kB / 1.289 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.3921, allocations: 25.7 kB / 1.289 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3922, allocations: 322.8 kB / 1.289 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-05/0.3923, allocations: 27.98 kB / 1.289 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3924, allocations: 50.5 kB / 1.289 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3926, allocations: 74.48 kB / 1.289 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3926, allocations: 0 / 1.289 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002747/0.3928, allocations: 113.5 kB / 1.289 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.3929, allocations: 10.34 kB / 1.289 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3929, allocations: 0 / 1.289 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3929, allocations: 4.062 kB / 1.289 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.393, allocations: 15.92 kB / 1.289 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.393, allocations: 4 kB / 1.289 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.393, allocations: 7.938 kB / 1.289 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.3931, allocations: 7.984 kB / 1.289 GB, free: 14.24 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 9.799e-05/0.3932, allocations: 117.8 kB / 1.289 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.3932, allocations: 7.891 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.3932, allocations: 12.38 kB / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3932, allocations: 4 kB / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3932, allocations: 0 / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3932, allocations: 3.938 kB / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.3937, allocations: 349.5 kB / 1.29 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3937, allocations: 3.938 kB / 1.29 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.3937, allocations: 11.98 kB / 1.29 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3937, allocations: 0 / 1.29 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3937, allocations: 3.938 kB / 1.29 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3937, allocations: 4 kB / 1.29 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3937, allocations: 0 / 1.29 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.3941, allocations: 219.4 kB / 1.29 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.3941, allocations: 7.891 kB / 1.29 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.3941, allocations: 7.938 kB / 1.29 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.383e-05/0.3942, allocations: 3.984 kB / 1.29 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.3942, allocations: 11.98 kB / 1.29 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.3942, allocations: 8 kB / 1.29 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.466e-05/0.3943, allocations: 92.02 kB / 1.29 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3943, allocations: 0 / 1.29 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003005/0.3946, allocations: 39.92 kB / 1.29 GB, free: 13.28 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.0008985/0.3955, allocations: 0.7944 MB / 1.291 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.3957, allocations: 75.83 kB / 1.291 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3957, allocations: 0 / 1.291 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3958, allocations: 35.92 kB / 1.291 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.3961, allocations: 12.11 kB / 1.291 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.398, allocations: 1.495 MB / 1.292 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.3983, allocations: 0.6924 MB / 1.293 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.3984, allocations: 7.938 kB / 1.293 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.3984, allocations: 27.42 kB / 1.293 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.3984, allocations: 0 / 1.293 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.4222, allocations: 2.851 MB / 1.296 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.82, allocations: 10 kB / 1.296 GB, free: 7.316 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.49478614400141] Failed to read output from testmodel.py, exit status != 0: 11.99307362997206 12.020295972 11.626788381 Calling exit ...