Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.001814/0.001814, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.002338/0.002338, allocations: 215.1 kB / 23.03 MB, free: 4.422 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.872/2.872, allocations: 476.8 MB / 0.7715 GB, free: 3.914 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.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.00201/0.00201, allocations: 64.41 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3323, allocations: 170 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002962/0.3353, allocations: 1.517 MB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3368, allocations: 0.7535 MB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.3369, allocations: 0 / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.3369, allocations: 3.938 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.668e-05/0.337, allocations: 11.86 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006512/0.3376, allocations: 147.5 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.3378, allocations: 67.84 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.3378, allocations: 20.16 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.338, allocations: 47.8 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.3381, allocations: 39.88 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.3381, allocations: 8 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.3384, allocations: 139.8 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.3384, allocations: 19.91 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.3385, allocations: 27.86 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.3387, allocations: 148.6 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3387, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3387, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.3387, allocations: 0 / 1.287 GB, free: 7.766 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.0006563/0.3394, allocations: 363.5 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3394, allocations: 8.031 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.51e-05/0.3395, allocations: 4.188 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.3395, allocations: 34.75 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003415/0.3398, allocations: 24.91 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.3401, allocations: 136.6 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.3401, allocations: 8.375 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.3401, allocations: 20 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.3403, allocations: 65.66 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3403, allocations: 0 / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.3403, allocations: 7.984 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3404, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.3405, allocations: 35.98 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005842/0.3411, allocations: 271.9 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.3412, allocations: 50.5 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.453e-05/0.3413, allocations: 28.95 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3413, allocations: 0 / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.3415, allocations: 79.38 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.3415, allocations: 0 / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004119/0.3419, allocations: 149.6 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.3419, allocations: 55.41 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.3421, allocations: 126.1 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.3421, allocations: 29.7 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.3421, allocations: 92.09 kB / 1.288 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.3422, allocations: 19.84 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.3422, allocations: 29.7 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3424, allocations: 318.8 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.3424, allocations: 27.98 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3425, allocations: 50.55 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3427, allocations: 70.5 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3427, allocations: 4 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002545/0.343, allocations: 113.5 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.343, allocations: 8 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.343, allocations: 0 / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.343, allocations: 0 / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.3431, allocations: 15.92 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3431, allocations: 4 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.932e-05/0.3432, allocations: 15.98 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.3432, allocations: 8 kB / 1.289 GB, free: 5.316 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 9.704e-05/0.3433, allocations: 117.8 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.3433, allocations: 7.953 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.3433, allocations: 8.375 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3433, allocations: 3.938 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3433, allocations: 4 kB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3433, allocations: 7.922 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/0.3438, allocations: 345.6 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3438, allocations: 0 / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.3439, allocations: 4 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3439, allocations: 0 / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.3439, allocations: 7.922 kB / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3439, allocations: 0 / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3439, allocations: 0 / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.3442, allocations: 215.5 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.3442, allocations: 7.891 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.3443, allocations: 11.92 kB / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-05/0.3444, allocations: 12 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.3444, allocations: 7.984 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.3444, allocations: 4 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.501e-05/0.3445, allocations: 92.27 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3445, allocations: 3.938 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003104/0.3448, allocations: 35.94 kB / 1.29 GB, free: 4.359 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.0008946/0.3457, allocations: 0.8176 MB / 1.291 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.3459, allocations: 75.81 kB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.3459, allocations: 0 / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.668e-05/0.346, allocations: 31.98 kB / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.3463, allocations: 8.219 kB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.3484, allocations: 1.507 MB / 1.292 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.469e-05/0.3484, allocations: 78.64 kB / 1.292 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.287e-05/0.3485, allocations: 4 kB / 1.292 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.3485, allocations: 23.42 kB / 1.292 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.3485, allocations: 4 kB / 1.292 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.3776, allocations: 2.9 MB / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.96, allocations: 14.17 kB / 1.295 GB, free: 14.95 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.923627086915076] Failed to read output from testmodel.py, exit status != 0: 12.713506998028606 12.145222213 11.803174312 Calling exit ...