Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.016/5.016, allocations: 0.5623 GB / 0.5775 GB, free: 3.387 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002471/0.002471, allocations: 359.9 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.272/4.272, allocations: 410.7 MB / 1.113 GB, free: 5.988 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001861/0.001861, allocations: 186.8 kB / 1.226 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004766, allocations: 15.98 kB / 1.349 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7869/0.7874, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.989, allocations: 139.8 MB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.9894, allocations: 88.55 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01278/1.002, allocations: 2.99 MB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.433e-06/1.002, allocations: 0 / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.915e-06/1.002, allocations: 1.312 kB / 1.601 GB, free: 141.4 MB / 0.8542 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.0005882/1.003, allocations: 425.3 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/1.003, allocations: 17.98 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/1.003, allocations: 4 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/1.003, allocations: 177.2 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/1.003, allocations: 8 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/1.003, allocations: 7.938 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/1.003, allocations: 66.22 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/1.003, allocations: 1.656 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/1.003, allocations: 4 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/1.003, allocations: 4 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/1.004, allocations: 41.72 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007231/1.004, allocations: 318.6 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/1.005, allocations: 60.45 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/1.005, allocations: 33.59 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/1.005, allocations: 1.781 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/1.005, allocations: 80.59 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/1.005, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.000556/1.006, allocations: 149.5 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/1.006, allocations: 59.36 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.639e-05/1.006, allocations: 117.8 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/1.006, allocations: 33.7 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/1.006, allocations: 92.3 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/1.006, allocations: 21.33 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-06/1.006, allocations: 0 / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.111e-05/1.006, allocations: 318.8 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/1.006, allocations: 25.89 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/1.006, allocations: 52.7 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/1.006, allocations: 43.98 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.006, allocations: 0 / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003747/1.007, allocations: 107.6 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.007, allocations: 13.05 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.007, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.007, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/1.007, allocations: 20.91 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.007, allocations: 7.953 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/1.007, allocations: 12.89 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/1.007, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.557e-05/1.007, allocations: 119.6 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/1.007, allocations: 4 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/1.007, allocations: 12.36 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.007, allocations: 5.062 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.007, allocations: 0 / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.007, allocations: 8.969 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/1.008, allocations: 389.1 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.008, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/1.008, allocations: 4.5 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.008, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/1.008, allocations: 8.641 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/1.008, allocations: 3.953 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.008, allocations: 0.6875 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/1.008, allocations: 218.4 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/1.009, allocations: 84.95 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/1.009, allocations: 7.984 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/1.009, allocations: 4.906 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/1.009, allocations: 10.94 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/1.009, allocations: 4 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.828e-05/1.009, allocations: 92.58 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.01e-07/1.009, allocations: 0 / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004078/1.009, allocations: 47.94 kB / 1.604 GB, free: 137.8 MB / 0.8542 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,occ.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004226/1.01, allocations: 175.2 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003379/1.01, allocations: 82.02 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.01, allocations: 0 / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/1.01, allocations: 36.64 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/1.011, allocations: 4.922 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/1.011, allocations: 207.7 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/1.011, allocations: 0.6932 MB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.427e-05/1.011, allocations: 5.625 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/1.011, allocations: 11.42 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of SimCode: time 7.91e-07/1.011, allocations: 8.656 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.005315/1.017, allocations: 1.513 MB / 1.607 GB, free: 135.1 MB / 0.8542 GB