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.001325/0.001325, allocations: 110.1 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.001647/0.001647, allocations: 217.3 kB / 23.04 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.923/2.923, allocations: 476.7 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.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.002032/0.002032, allocations: 67.89 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3493, allocations: 169.9 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002673/0.352, allocations: 1.543 MB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.3534, allocations: 0.8119 MB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.3534, allocations: 4 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.3535, allocations: 3.938 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.14e-05/0.3535, allocations: 15.86 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.3541, allocations: 143.5 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.3542, allocations: 83.64 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.815e-05/0.3543, allocations: 11.98 kB / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3544, allocations: 47.91 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.812e-05/0.3545, allocations: 35.83 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.3545, allocations: 12 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.3548, allocations: 147.7 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.3548, allocations: 11.98 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.3548, allocations: 31.8 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.3551, allocations: 152 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3551, allocations: 0 / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3551, allocations: 0 / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.3551, allocations: 0 / 1.287 GB, free: 8.738 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.0005865/0.3557, allocations: 351.5 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3557, allocations: 16.03 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.306e-05/0.3557, allocations: 4.188 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.3557, allocations: 30.75 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003114/0.3561, allocations: 32.84 kB / 1.288 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.3563, allocations: 134.4 kB / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.3563, allocations: 8.375 kB / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.3563, allocations: 8.125 kB / 1.288 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3565, allocations: 65.66 kB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3565, allocations: 0 / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3565, allocations: 4 kB / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3565, allocations: 4 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.3567, allocations: 35.97 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.3572, allocations: 291.7 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.3573, allocations: 42.56 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.3574, allocations: 28.97 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3575, allocations: 4 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.3576, allocations: 79.31 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 4.919e-06/0.3576, allocations: 7.984 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003934/0.358, allocations: 141.6 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.3581, allocations: 55.41 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3582, allocations: 121.5 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3582, allocations: 29.7 kB / 1.289 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.3582, allocations: 96.08 kB / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.3583, allocations: 15.84 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.3583, allocations: 29.7 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3585, allocations: 330.8 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.3585, allocations: 19.98 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.3586, allocations: 50.56 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.3588, allocations: 86.72 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3588, allocations: 0 / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002467/0.3591, allocations: 109.5 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3591, allocations: 6.188 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3591, allocations: 0 / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3591, allocations: 4 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.427e-05/0.3592, allocations: 19.92 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3592, allocations: 0 / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.3592, allocations: 12 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.3593, allocations: 4 kB / 1.289 GB, free: 6.289 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.157e-05/0.3594, allocations: 117.8 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.3594, allocations: 7.953 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.3594, allocations: 12.31 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3594, allocations: 0 / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3594, allocations: 4 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3594, allocations: 3.938 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.3599, allocations: 357.5 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3599, allocations: 0 / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.3599, allocations: 7.984 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3599, allocations: 0 / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3599, allocations: 3.938 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3599, allocations: 0 / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3599, allocations: 4 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.3602, allocations: 219.4 kB / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.3602, allocations: 11.89 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.3603, allocations: 3.938 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.3604, allocations: 4 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.3604, allocations: 3.984 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.3604, allocations: 4 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.347e-05/0.3605, allocations: 95.27 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3605, allocations: 0 / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002959/0.3608, allocations: 47.92 kB / 1.29 GB, free: 5.32 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.0008509/0.3616, allocations: 0.7982 MB / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.3619, allocations: 72.19 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3619, allocations: 0 / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.362, 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.000259/0.3622, allocations: 17.52 kB / 1.291 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.364, allocations: 1.497 MB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.3643, allocations: 0.6923 MB / 1.293 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.304e-05/0.3644, allocations: 8 kB / 1.293 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.3645, allocations: 19.42 kB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3645, allocations: 0 / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.3881, allocations: 2.853 MB / 1.296 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.7, allocations: 10.94 kB / 1.296 GB, free: 15.35 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.67790040303953] Failed to read output from testmodel.py, exit status != 0: 12.47482859698357 11.90415343 11.543248801 Calling exit ...