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.001787/0.001787, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002389/0.002389, allocations: 212 kB / 20.13 MB, free: 2.949 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.652/1.652, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.945/2.945, allocations: 476.7 MB / 0.7678 GB, free: 9.363 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.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.002254/0.002254, allocations: 67.89 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9123/0.9145, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002865/0.9174, allocations: 1.527 MB / 1.28 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.9189, allocations: 0.8077 MB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.919, allocations: 0 / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.919, allocations: 9.234 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.021e-05/0.919, allocations: 15.17 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005773/0.9196, allocations: 135.1 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.9197, allocations: 77.97 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.035e-05/0.9198, allocations: 13.33 kB / 1.281 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.92, allocations: 47.25 kB / 1.281 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.92, allocations: 34.36 kB / 1.282 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.9201, allocations: 6.031 kB / 1.282 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.9203, allocations: 113.2 kB / 1.282 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/0.9203, allocations: 27.36 kB / 1.282 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.9204, allocations: 27.16 kB / 1.282 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.9207, allocations: 153.6 kB / 1.282 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.9207, allocations: 0.5312 kB / 1.282 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9207, allocations: 0 / 1.282 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.9207, allocations: 0.5312 kB / 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.0007079/0.9214, allocations: 434.8 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.9214, allocations: 10.22 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.039e-05/0.9215, allocations: 5.719 kB / 1.282 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.9215, allocations: 37.16 kB / 1.282 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003378/0.9218, allocations: 26.66 kB / 1.282 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.9221, allocations: 186.9 kB / 1.283 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.9221, allocations: 3.031 kB / 1.283 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.9221, allocations: 12.45 kB / 1.283 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.9223, allocations: 64.22 kB / 1.283 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.9223, allocations: 7.984 kB / 1.283 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.9223, allocations: 1.641 kB / 1.283 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9223, allocations: 1.031 kB / 1.283 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.9225, allocations: 43.91 kB / 1.283 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.9231, allocations: 319.5 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.9232, allocations: 47.92 kB / 1.283 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.012e-05/0.9233, allocations: 30.28 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.9234, allocations: 1.219 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.9235, allocations: 77.38 kB / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.9235, allocations: 0 / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004269/0.924, allocations: 144.8 kB / 1.283 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.924, allocations: 54.55 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.9241, allocations: 122.5 kB / 1.283 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.9242, allocations: 32.06 kB / 1.283 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.9242, allocations: 90.84 kB / 1.284 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.9242, allocations: 19.58 kB / 1.284 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.9243, allocations: 29.22 kB / 1.284 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.9245, allocations: 324.2 kB / 1.284 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.703e-05/0.9246, allocations: 31.72 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.96e-05/0.9247, allocations: 46.38 kB / 1.284 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.9248, allocations: 68.48 kB / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9248, allocations: 4 kB / 1.284 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002519/0.9251, allocations: 117 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.9251, allocations: 7.469 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.9251, allocations: 2.125 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.9251, allocations: 1.125 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.9252, allocations: 18.33 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.9252, allocations: 2.625 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.377e-05/0.9253, allocations: 16.08 kB / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.9253, allocations: 8.734 kB / 1.284 GB, free: 7.773 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.779e-05/0.9254, allocations: 115.8 kB / 1.284 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.9254, allocations: 7.953 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.9255, allocations: 11.03 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.9255, allocations: 1.438 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9255, allocations: 0 / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.9255, allocations: 4.5 kB / 1.284 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.926, allocations: 383 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.926, allocations: 4.547 kB / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.926, allocations: 5.344 kB / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.926, allocations: 0.5156 kB / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.9261, allocations: 10.52 kB / 1.285 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.9261, allocations: 1.438 kB / 1.285 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9261, allocations: 0 / 1.285 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.9264, allocations: 208.6 kB / 1.285 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.9264, allocations: 83.69 kB / 1.285 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.9265, allocations: 4.688 kB / 1.285 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.154e-05/0.9266, allocations: 9.016 kB / 1.285 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.9266, allocations: 4.656 kB / 1.285 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.9266, allocations: 3.984 kB / 1.285 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.475e-05/0.9267, allocations: 94.73 kB / 1.285 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9267, allocations: 1.312 kB / 1.285 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003496/0.927, allocations: 38.64 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.0009965/0.928, allocations: 0.8153 MB / 1.286 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.9283, allocations: 78.94 kB / 1.286 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9283, allocations: 0 / 1.286 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.9284, allocations: 31.27 kB / 1.286 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.9286, allocations: 5.859 kB / 1.286 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.9306, allocations: 1.52 MB / 1.288 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.931, allocations: 0.6878 MB / 1.288 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.931, allocations: 5.75 kB / 1.288 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.9311, allocations: 21.14 kB / 1.288 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.9311, allocations: 4 kB / 1.288 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.9542, allocations: 2.732 MB / 1.291 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.624/9.578, allocations: 9.281 kB / 1.291 GB, free: 3.625 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.217492421972565] Failed to read output from testmodel.py, exit status != 0: 9.707248708989937 9.729761626 8.804678199 Calling exit ...