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.001415/0.001415, allocations: 115.7 kB / 17.17 MB, free: 5.98 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.001531/0.001531, allocations: 219 kB / 20.14 MB, free: 3.035 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.542/1.542, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.896/2.896, allocations: 476.7 MB / 0.7678 GB, free: 9.324 MB / 0.6075 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.002095/0.002095, allocations: 71.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.95/0.9521, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002887/0.955, allocations: 1.531 MB / 1.28 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.9565, allocations: 0.7996 MB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.9566, allocations: 9.125 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/0.9566, allocations: 5.203 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.368e-05/0.9566, allocations: 13.81 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.9572, allocations: 136 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.9573, allocations: 74.48 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.9574, allocations: 13.02 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.9576, allocations: 47.86 kB / 1.281 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.9576, allocations: 39.88 kB / 1.282 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.9577, allocations: 6.688 kB / 1.282 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.9579, allocations: 114.2 kB / 1.282 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.958, allocations: 18.94 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.958, allocations: 32.2 kB / 1.282 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.9583, allocations: 156.6 kB / 1.282 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.9583, allocations: 0 / 1.282 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9583, allocations: 0.5 kB / 1.282 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.9583, allocations: 0 / 1.282 GB, free: 9.836 MB / 0.9981 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.0007185/0.9591, allocations: 431.6 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.9591, allocations: 14.7 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.899e-05/0.9591, allocations: 1.219 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.9592, allocations: 33.03 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003456/0.9595, allocations: 27.11 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.9597, allocations: 185.7 kB / 1.283 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.9598, allocations: 6.906 kB / 1.283 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.9598, allocations: 13.23 kB / 1.283 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.96, allocations: 71.89 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.96, allocations: 0 / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.96, allocations: 5.125 kB / 1.283 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.96, allocations: 1.094 kB / 1.283 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.9602, allocations: 39.23 kB / 1.283 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006025/0.9608, allocations: 315.2 kB / 1.283 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.9609, allocations: 43.83 kB / 1.283 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.558e-05/0.961, allocations: 35.41 kB / 1.283 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.961, allocations: 0 / 1.283 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.9612, allocations: 77.02 kB / 1.283 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.9612, allocations: 5.312 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.000448/0.9616, allocations: 140.8 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.9617, allocations: 58.83 kB / 1.283 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.9618, allocations: 124.7 kB / 1.283 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.9618, allocations: 26.86 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.9619, allocations: 96.47 kB / 1.284 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.9619, allocations: 11.75 kB / 1.284 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.962, allocations: 29.67 kB / 1.284 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9621, allocations: 327 kB / 1.284 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.9622, allocations: 23.78 kB / 1.284 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.9623, allocations: 50.73 kB / 1.284 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.9625, allocations: 76.02 kB / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9625, allocations: 0 / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002506/0.9627, allocations: 117.9 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.9628, allocations: 7.5 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.9628, allocations: 4.75 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.9628, allocations: 1.312 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.052e-05/0.9629, allocations: 15.31 kB / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.9629, allocations: 1.312 kB / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.15e-05/0.9629, allocations: 17.56 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.963, allocations: 4.984 kB / 1.284 GB, free: 7.781 MB / 0.9981 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.749e-05/0.9631, allocations: 118.5 kB / 1.284 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.9631, allocations: 7.984 kB / 1.284 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.9631, allocations: 11.27 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.9631, allocations: 1.438 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.9631, allocations: 0 / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.9631, allocations: 4.641 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.9636, allocations: 387.4 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.9636, allocations: 1.312 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.9637, allocations: 4.312 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.9637, allocations: 1.312 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.9637, allocations: 5.344 kB / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.9637, allocations: 5.375 kB / 1.285 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9637, allocations: 0.5156 kB / 1.285 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.964, allocations: 208.3 kB / 1.285 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.9641, allocations: 87.41 kB / 1.285 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.9641, allocations: 6.344 kB / 1.285 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.9642, allocations: 3.922 kB / 1.285 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.9642, allocations: 4.391 kB / 1.285 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.9642, allocations: 3.297 kB / 1.285 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.942e-05/0.9643, allocations: 101.7 kB / 1.285 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9643, allocations: 0 / 1.285 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003385/0.9646, allocations: 38.25 kB / 1.285 GB, free: 6.938 MB / 0.9981 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.0009925/0.9656, allocations: 0.8125 MB / 1.286 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.9659, allocations: 69.41 kB / 1.286 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.9659, allocations: 1.438 kB / 1.286 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.966, allocations: 31.84 kB / 1.286 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.9663, allocations: 10.92 kB / 1.286 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.9681, allocations: 1.519 MB / 1.288 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.9685, allocations: 0.6875 MB / 1.288 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.182e-05/0.9685, allocations: 9.094 kB / 1.288 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/0.9686, allocations: 21.86 kB / 1.288 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.9686, allocations: 0 / 1.288 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.9958, allocations: 2.736 MB / 1.291 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.649/9.645, allocations: 4.438 kB / 1.291 GB, free: 3.629 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.084557741007302] Failed to read output from testmodel.py, exit status != 0: 9.772762171982322 9.788728781 8.827313401 Calling exit ...