Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.001317/0.001317, 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.001557/0.001557, allocations: 219.2 kB / 23.05 MB, free: 5.074 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.744/2.744, allocations: 476.7 MB / 0.7714 GB, free: 4.246 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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.001936/0.001936, allocations: 65.38 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.314, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003199/0.3172, allocations: 1.535 MB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.3188, allocations: 0.8196 MB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.3189, allocations: 4 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.3189, allocations: 7.875 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.272e-05/0.319, allocations: 7.922 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006827/0.3197, allocations: 143.5 kB / 1.287 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.3199, allocations: 83.7 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.959e-05/0.3199, allocations: 11.98 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.3201, allocations: 43.89 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.392e-05/0.3202, allocations: 35.84 kB / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.3202, allocations: 12 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.3205, allocations: 143.7 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.3205, allocations: 15.98 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.3206, allocations: 35.8 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.3208, allocations: 143.7 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3209, allocations: 0 / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3209, allocations: 0 / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.3209, allocations: 3.984 kB / 1.287 GB, free: 8.684 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.0006238/0.3215, allocations: 355.5 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3215, allocations: 12.03 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.647e-05/0.3215, allocations: 8.125 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.3216, allocations: 38.73 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003303/0.3219, allocations: 28.88 kB / 1.288 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.3221, allocations: 130.4 kB / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.3222, allocations: 4.359 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.3222, allocations: 8.125 kB / 1.288 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.3224, allocations: 73.66 kB / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3224, allocations: 3.938 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3224, allocations: 0 / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3224, allocations: 0 / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.3225, allocations: 47.84 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.3231, allocations: 287.8 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.3233, allocations: 42.56 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.3234, allocations: 28.97 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.3234, allocations: 0 / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.3236, allocations: 79.31 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3236, allocations: 4 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004308/0.324, allocations: 141.6 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.324, allocations: 51.41 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.3242, allocations: 118.1 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.3242, allocations: 37.69 kB / 1.289 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.3242, allocations: 88.09 kB / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.3243, allocations: 23.91 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.3243, allocations: 33.7 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3245, allocations: 322.8 kB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.915e-05/0.3246, allocations: 23.98 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.3247, allocations: 50.5 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.3249, allocations: 70.55 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3249, allocations: 4 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000274/0.3252, allocations: 113.8 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3252, allocations: 8 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3252, allocations: 0 / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3252, allocations: 0 / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.825e-05/0.3253, allocations: 15.92 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3253, allocations: 4 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.3254, allocations: 15.94 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.3254, allocations: 8 kB / 1.289 GB, free: 6.227 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.0001225/0.3255, allocations: 118.8 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.3255, allocations: 7.953 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.3256, allocations: 8.375 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3256, allocations: 0 / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3256, allocations: 0 / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.3256, allocations: 11.94 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.3261, allocations: 353.5 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3261, allocations: 0 / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.3261, allocations: 7.984 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3261, allocations: 0 / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.3262, allocations: 3.938 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3262, allocations: 0 / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3262, allocations: 0 / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.3265, allocations: 215.4 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.3265, allocations: 11.89 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.3266, allocations: 7.875 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.3266, allocations: 4 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.3267, allocations: 7.984 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3267, allocations: 4 kB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.867e-05/0.3268, allocations: 94.52 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3268, allocations: 0 / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003697/0.3272, allocations: 43.92 kB / 1.29 GB, free: 5.27 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.00113/0.3283, allocations: 0.8031 MB / 1.291 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002837/0.3286, allocations: 75.83 kB / 1.291 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3286, allocations: 0 / 1.291 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.3287, allocations: 36.39 kB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.329, allocations: 7.984 kB / 1.291 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.3311, allocations: 1.501 MB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.3315, allocations: 0.6885 MB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.167e-05/0.3315, allocations: 11.94 kB / 1.293 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.3316, allocations: 27.42 kB / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3316, allocations: 0 / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.3561, allocations: 2.847 MB / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.02, allocations: 4.812 kB / 1.296 GB, free: 15.3 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.579907101986464] Failed to read output from testmodel.py, exit status != 0: 12.698760504019447 12.201252733 11.876836892 Calling exit ...