Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.001311/0.001311, 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.001366/0.001366, allocations: 220 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.837/2.837, allocations: 476.8 MB / 0.7715 GB, free: 3.895 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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.001984/0.001984, allocations: 64.11 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3273, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003005/0.3303, allocations: 1.519 MB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.3318, allocations: 0.7457 MB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.3318, allocations: 4 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.784e-05/0.3319, allocations: 11.92 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.421e-05/0.3319, allocations: 7.875 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006811/0.3326, allocations: 143.6 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.3328, allocations: 83.7 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.3328, allocations: 4.188 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.333, allocations: 51.83 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.3331, allocations: 35.84 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.3332, allocations: 8 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.3335, allocations: 143.8 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.062e-05/0.3335, allocations: 19.92 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.3336, allocations: 23.92 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.3339, allocations: 160.5 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3339, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.083e-06/0.3339, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3339, allocations: 0 / 1.287 GB, free: 7.676 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.0006428/0.3345, allocations: 351.6 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3346, allocations: 12.03 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.686e-05/0.3346, allocations: 4.172 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.3346, allocations: 34.75 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003569/0.335, allocations: 24.92 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.3352, allocations: 134.4 kB / 1.287 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.3353, allocations: 8.375 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.3353, allocations: 8.125 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.3355, allocations: 69.59 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3355, allocations: 0 / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.3355, allocations: 4 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3355, allocations: 4 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.3356, allocations: 35.97 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.3363, allocations: 271.9 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.3364, allocations: 46.5 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.415e-05/0.3365, allocations: 32.97 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3365, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.3367, allocations: 83.31 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.3367, allocations: 0 / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000454/0.3371, allocations: 137.6 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.3372, allocations: 63.41 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3373, allocations: 123.5 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3374, allocations: 29.64 kB / 1.288 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.3374, allocations: 100.1 kB / 1.288 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.3374, allocations: 15.84 kB / 1.288 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.3375, allocations: 29.7 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3376, allocations: 330.8 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.3377, allocations: 23.98 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.852e-05/0.3378, allocations: 42.56 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.338, allocations: 74.48 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.338, allocations: 0 / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000265/0.3383, allocations: 121.8 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3383, allocations: 10.34 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3383, allocations: 0 / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3383, allocations: 0 / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3384, allocations: 11.98 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.3384, allocations: 4 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.243e-05/0.3385, allocations: 11.94 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3385, allocations: 0 / 1.289 GB, free: 5.25 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.0001262/0.3386, allocations: 127.1 kB / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.3387, allocations: 12.02 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.3387, allocations: 8.375 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.3387, allocations: 4 kB / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3387, allocations: 0 / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3387, allocations: 3.938 kB / 1.289 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.3392, allocations: 341.6 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.3392, allocations: 7.984 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.3393, allocations: 3.938 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3393, allocations: 4 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.3393, allocations: 11.94 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3393, allocations: 0 / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3393, allocations: 0 / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.3396, allocations: 215.5 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.3396, allocations: 11.89 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3397, allocations: 3.938 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.3398, allocations: 7.984 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.3398, allocations: 4 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.3398, allocations: 3.984 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.56e-05/0.3399, allocations: 102.3 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3399, allocations: 4 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003798/0.3403, allocations: 31.94 kB / 1.29 GB, free: 4.285 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.001015/0.3413, allocations: 0.8148 MB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.3415, allocations: 75.91 kB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3415, allocations: 0 / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.906e-05/0.3416, allocations: 32.44 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.3419, allocations: 9.438 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.3438, allocations: 1.511 MB / 1.292 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.416e-05/0.3439, allocations: 75.34 kB / 1.292 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.074e-05/0.3439, allocations: 7.984 kB / 1.292 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.344, allocations: 19.44 kB / 1.292 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.344, allocations: 0 / 1.292 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.3696, allocations: 2.909 MB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.04, allocations: 3.422 kB / 1.295 GB, free: 14.88 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.915829031029716] Failed to read output from testmodel.py, exit status != 0: 12.824337330996059 12.236224677 11.898079682 Calling exit ...