Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.001851/0.001851, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001869/0.001869, allocations: 218.2 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.788/2.788, allocations: 476.7 MB / 0.7715 GB, free: 4.285 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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.001993/0.001993, allocations: 64.97 kB / 1.118 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3095, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.00285/0.3123, allocations: 1.541 MB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.3138, allocations: 0.8157 MB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.525e-05/0.3138, allocations: 7.938 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.3139, allocations: 3.938 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.3139, allocations: 11.86 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.3145, allocations: 143.6 kB / 1.287 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.3147, allocations: 83.7 kB / 1.287 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.3148, allocations: 7.984 kB / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.3149, allocations: 47.89 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.315, allocations: 35.84 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.315, allocations: 8 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.3153, allocations: 147.7 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.3153, allocations: 15.98 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.3154, allocations: 31.8 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.3156, allocations: 151.9 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3156, allocations: 4 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3156, allocations: 0 / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3157, allocations: 0 / 1.287 GB, free: 8.734 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.0006698/0.3163, allocations: 355.5 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3164, allocations: 12.03 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.783e-05/0.3164, allocations: 8.188 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.3164, allocations: 34.73 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.3168, allocations: 28.88 kB / 1.288 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.317, allocations: 130.4 kB / 1.288 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.317, allocations: 4.375 kB / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.317, allocations: 8.125 kB / 1.288 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.3172, allocations: 69.66 kB / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3172, allocations: 3.938 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3173, allocations: 4 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3173, allocations: 3.938 kB / 1.288 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.3174, allocations: 39.95 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.318, allocations: 283.9 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.3181, allocations: 46.56 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.3182, allocations: 24.97 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.3182, allocations: 3.938 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.3184, allocations: 79.38 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 3.025e-06/0.3184, allocations: 7.922 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003998/0.3188, allocations: 145.6 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.3188, allocations: 55.41 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3189, allocations: 118.1 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.3189, allocations: 29.69 kB / 1.289 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.319, allocations: 100 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.319, allocations: 15.84 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.3191, allocations: 29.7 kB / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3192, allocations: 326.8 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-05/0.3193, allocations: 27.98 kB / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.814e-05/0.3194, allocations: 46.56 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.3196, allocations: 70.55 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3196, allocations: 3.938 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002463/0.3198, allocations: 109.5 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3198, allocations: 8 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3198, allocations: 0 / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3198, allocations: 0 / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3199, allocations: 15.98 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.32, allocations: 4 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.32, allocations: 12 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.32, allocations: 0 / 1.289 GB, free: 6.293 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.000103/0.3201, allocations: 130.6 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.3201, allocations: 3.953 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.3202, allocations: 16.31 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3202, allocations: 0 / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3202, allocations: 0 / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3202, allocations: 3.938 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.3207, allocations: 357.6 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3207, allocations: 0 / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.3207, allocations: 7.984 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3207, allocations: 0 / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.3207, allocations: 7.938 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3207, allocations: 480 / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3207, allocations: 3.938 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.321, allocations: 219.5 kB / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.3211, allocations: 7.891 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3211, allocations: 7.938 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.3212, allocations: 0 / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.3212, allocations: 7.984 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3212, allocations: 4 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.561e-05/0.3213, allocations: 95.27 kB / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3213, allocations: 0 / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003072/0.3216, allocations: 47.86 kB / 1.29 GB, free: 5.316 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.0008518/0.3224, allocations: 0.7908 MB / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.3227, allocations: 71.83 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3227, allocations: 0 / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.771e-05/0.3228, allocations: 35.92 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.323, allocations: 12.19 kB / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.3247, allocations: 1.503 MB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.325, allocations: 0.6905 MB / 1.293 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.3251, allocations: 4 kB / 1.293 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/0.3251, allocations: 27.42 kB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3251, allocations: 3.938 kB / 1.293 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.3492, allocations: 2.863 MB / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.82, allocations: 5.625 kB / 1.296 GB, free: 15.34 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.568697755981702] Failed to read output from testmodel.py, exit status != 0: 12.555346773995552 12.022951442 11.701690736 Calling exit ...