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.001776/0.001776, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002169/0.002169, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.665/1.665, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.834/2.834, allocations: 476.7 MB / 0.7678 GB, free: 9.387 MB / 0.6075 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.002234/0.002234, allocations: 59.91 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9137/0.916, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003182/0.9191, allocations: 1.524 MB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.9207, allocations: 0.8154 MB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.9208, allocations: 1 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.944e-05/0.9209, allocations: 4.594 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.537e-05/0.9209, allocations: 11.39 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.9216, allocations: 138.9 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.9217, allocations: 74.31 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.77e-05/0.9218, allocations: 14.47 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.922, allocations: 46.03 kB / 1.281 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.414e-05/0.9221, allocations: 37.8 kB / 1.282 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.9221, allocations: 6.531 kB / 1.282 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.9224, allocations: 109.5 kB / 1.282 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.9224, allocations: 22.84 kB / 1.282 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/0.9225, allocations: 27.41 kB / 1.282 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.9228, allocations: 156.8 kB / 1.282 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.9229, allocations: 1.062 kB / 1.282 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9229, allocations: 0 / 1.282 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.9229, allocations: 0.5 kB / 1.282 GB, free: 9.844 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.0008422/0.9237, allocations: 435.3 kB / 1.282 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.9238, allocations: 9.938 kB / 1.282 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.471e-05/0.9238, allocations: 5.188 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.9238, allocations: 37.8 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003776/0.9242, allocations: 26.22 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.9245, allocations: 185.3 kB / 1.283 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.9245, allocations: 3.625 kB / 1.283 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.9246, allocations: 24.28 kB / 1.283 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.9248, allocations: 64.19 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.9248, allocations: 0.7031 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.9248, allocations: 1.531 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.9248, allocations: 0 / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.925, allocations: 40.52 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006685/0.9257, allocations: 323.4 kB / 1.283 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.9258, allocations: 47.69 kB / 1.283 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.9259, allocations: 30.03 kB / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.9259, allocations: 1 kB / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.9262, allocations: 77.48 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.9262, allocations: 0 / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004527/0.9266, allocations: 146 kB / 1.283 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.9267, allocations: 54.64 kB / 1.283 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.9268, allocations: 119.8 kB / 1.283 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.9269, allocations: 32.41 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.9269, allocations: 91.77 kB / 1.284 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.927, allocations: 23.72 kB / 1.284 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.927, allocations: 29.88 kB / 1.284 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.9272, allocations: 323 kB / 1.284 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.9273, allocations: 22.66 kB / 1.284 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.9274, allocations: 47.2 kB / 1.284 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.9276, allocations: 76.81 kB / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9276, allocations: 0 / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002612/0.9278, allocations: 116.2 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.9278, allocations: 6.719 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9278, allocations: 0 / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.9279, allocations: 1.953 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.928, allocations: 11.97 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.928, allocations: 5.312 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.928, allocations: 17.66 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.9281, allocations: 3.5 kB / 1.284 GB, free: 7.785 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 0.0001219/0.9282, allocations: 122.4 kB / 1.284 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.9282, allocations: 6.734 kB / 1.284 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.9282, allocations: 10.83 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.9282, allocations: 1.219 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.9282, allocations: 6 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.9283, allocations: 8.578 kB / 1.284 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.9288, allocations: 378.5 kB / 1.285 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.9288, allocations: 3.938 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.9288, allocations: 4.938 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.9288, allocations: 2.188 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.9289, allocations: 9.75 kB / 1.285 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.9289, allocations: 0.5156 kB / 1.285 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9289, allocations: 0 / 1.285 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.9292, allocations: 205.5 kB / 1.285 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.9292, allocations: 84.38 kB / 1.285 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.9293, allocations: 8.594 kB / 1.285 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.9294, allocations: 8.906 kB / 1.285 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.9294, allocations: 4.562 kB / 1.285 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.9294, allocations: 3.406 kB / 1.285 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.038e-05/0.9295, allocations: 96.36 kB / 1.285 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9295, allocations: 3.938 kB / 1.285 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003617/0.9298, allocations: 38.66 kB / 1.285 GB, free: 6.934 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.001083/0.9309, allocations: 0.8118 MB / 1.286 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002776/0.9312, allocations: 73.86 kB / 1.286 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9312, allocations: 0 / 1.286 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.9313, allocations: 31.69 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.0002981/0.9316, allocations: 8.094 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.002109/0.9337, 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.0004001/0.9341, allocations: 0.6878 MB / 1.288 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.436e-05/0.9342, allocations: 13.55 kB / 1.288 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.9342, allocations: 20.61 kB / 1.288 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.9342, allocations: 1.219 kB / 1.288 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.9562, allocations: 2.73 MB / 1.291 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.783/9.739, allocations: 9.688 kB / 1.291 GB, free: 3.629 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.136383571021724] Failed to read output from testmodel.py, exit status != 0: 9.868323986011092 9.892630851 8.965373589 Calling exit ...