Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001384/0.001384, 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.001582/0.001582, allocations: 216.1 kB / 23.04 MB, free: 5.07 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.536/1.536, 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.854/2.854, allocations: 476.8 MB / 0.7715 GB, free: 4.293 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.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.002041/0.002041, allocations: 63.98 kB / 1.118 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3805, allocations: 169.9 MB / 1.284 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.00319/0.3837, allocations: 1.544 MB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3853, allocations: 0.8157 MB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.522e-05/0.3854, allocations: 4 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.3854, allocations: 7.922 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.024e-05/0.3855, allocations: 7.875 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.3861, allocations: 151.5 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.3863, allocations: 75.77 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.3864, allocations: 15.92 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.3865, allocations: 43.89 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.666e-05/0.3866, allocations: 39.84 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3866, allocations: 8 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.3869, allocations: 143.7 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.387, allocations: 11.98 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.387, allocations: 35.8 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.3873, allocations: 155.7 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3873, allocations: 0 / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3873, allocations: 0 / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.3873, allocations: 4 kB / 1.287 GB, free: 8.555 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.0006533/0.388, allocations: 347.6 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.388, allocations: 8.031 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.687e-05/0.388, allocations: 192 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.3881, allocations: 42.73 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003451/0.3884, allocations: 32.88 kB / 1.288 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.3887, allocations: 130.3 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.3887, allocations: 4.375 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.3888, allocations: 11.94 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.389, allocations: 65.66 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.389, allocations: 3.938 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.389, allocations: 0 / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.389, allocations: 4 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.3892, allocations: 39.91 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.3898, allocations: 291.8 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.39, allocations: 42.56 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.815e-05/0.3901, allocations: 40.94 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.3901, allocations: 0 / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.3903, allocations: 75.38 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.3903, allocations: 0 / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004398/0.3907, allocations: 141.6 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.3908, allocations: 59.41 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3909, allocations: 126.1 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.3909, allocations: 25.7 kB / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.391, allocations: 96.03 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.391, allocations: 19.84 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.3911, allocations: 29.7 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3912, allocations: 318.8 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-05/0.3913, allocations: 23.98 kB / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.3914, allocations: 50.55 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.3916, allocations: 70.5 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.3916, allocations: 4 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002662/0.3919, allocations: 117.5 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3919, allocations: 4 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3919, allocations: 4 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.3919, allocations: 0 / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.392, allocations: 15.92 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.392, allocations: 0 / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.936e-05/0.3921, allocations: 15.88 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.3921, allocations: 7.984 kB / 1.289 GB, free: 6.109 MB / 0.9825 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.0001128/0.3922, allocations: 119.7 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.3922, allocations: 7.953 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.3923, allocations: 12.38 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3923, allocations: 0 / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3923, allocations: 0 / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.3923, allocations: 7.922 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.3928, allocations: 345.9 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3928, allocations: 0 / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.3929, allocations: 15.98 kB / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.047e-05/0.3929, allocations: 4 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3929, allocations: 3.938 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3929, allocations: 0 / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3929, allocations: 0 / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.3933, allocations: 215.5 kB / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.3933, allocations: 7.891 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.3933, allocations: 19.88 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/0.3934, allocations: 3.984 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.3934, allocations: 4 kB / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.3934, allocations: 0 / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.513e-05/0.3935, allocations: 98.64 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3935, allocations: 0 / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000321/0.3938, allocations: 39.92 kB / 1.29 GB, free: 5.148 MB / 0.9825 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.0009662/0.3948, allocations: 0.8112 MB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.395, allocations: 67.84 kB / 1.291 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3951, allocations: 4.125 kB / 1.291 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.3952, allocations: 35.91 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.3954, allocations: 8 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.3975, allocations: 1.497 MB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.3979, allocations: 0.6885 MB / 1.293 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.3979, allocations: 15.86 kB / 1.293 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.398, allocations: 19.44 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.398, allocations: 0 / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.4224, allocations: 2.852 MB / 1.296 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.91, allocations: 2.469 kB / 1.296 GB, free: 15.18 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.823431033990346] Failed to read output from testmodel.py, exit status != 0: 12.670881566009484 12.103662117 11.71322363 Calling exit ...