Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001413, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 191.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.801/2.801, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 69.33 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3256, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.004075/0.3297, allocations: 1.491 MB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3312, allocations: 0.7283 MB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.579e-05/0.3313, allocations: 7.875 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.3314, allocations: 3.938 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.3315, allocations: 15.91 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006342/0.3321, allocations: 123.6 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3322, allocations: 71.83 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3324, allocations: 19.98 kB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.3325, allocations: 39.83 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.3326, allocations: 35.84 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.3326, allocations: 8 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.3328, allocations: 95.84 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.3328, allocations: 19.92 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.3329, allocations: 35.84 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.3332, allocations: 139.9 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3332, allocations: 4 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3332, allocations: 4 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3332, allocations: 0 / 1.071 GB, free: 7.613 MB / 0.8262 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.0006211/0.3338, allocations: 409 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3339, allocations: 12.03 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.3339, allocations: 12.78 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.334, allocations: 172.2 kB / 1.072 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.3341, allocations: 4.375 kB / 1.072 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.3341, allocations: 8.359 kB / 1.072 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.3343, allocations: 77.95 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.3343, allocations: 0 / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3343, allocations: 0 / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3343, allocations: 0 / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.3345, allocations: 39.97 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.3351, allocations: 324.6 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.3352, allocations: 46.56 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.663e-05/0.3353, allocations: 36.97 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.3354, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.3356, allocations: 83.31 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.694e-06/0.3356, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003852/0.336, allocations: 133.5 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.336, allocations: 63.45 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.3361, allocations: 121.8 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3362, allocations: 29.7 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.3362, allocations: 92.12 kB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.3363, allocations: 15.75 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.3363, allocations: 29.7 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3364, allocations: 322.8 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.215e-05/0.3365, allocations: 31.97 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.295e-05/0.3366, allocations: 42.56 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.3368, allocations: 78.48 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3368, allocations: 0 / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002432/0.3371, allocations: 109.5 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3371, allocations: 4 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3371, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3371, allocations: 7.938 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.3372, allocations: 19.92 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3372, allocations: 4.062 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.3373, allocations: 4 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.3373, allocations: 7.938 kB / 1.073 GB, free: 5.07 MB / 0.8262 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 8.555e-05/0.3374, allocations: 118.3 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.3374, allocations: 11.89 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.3375, allocations: 8.375 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3375, allocations: 0 / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3375, allocations: 4 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3375, allocations: 8 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.338, allocations: 386.3 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.338, allocations: 0 / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.338, allocations: 4 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.338, allocations: 0 / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.338, allocations: 3.984 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.338, allocations: 0 / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.338, allocations: 3.938 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.3383, allocations: 219.8 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.3384, allocations: 92.98 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.3384, allocations: 0 / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/0.3385, allocations: 0 / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.3386, allocations: 11.92 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.3386, allocations: 4 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.426e-05/0.3386, allocations: 99.92 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3386, allocations: 0 / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002937/0.3389, allocations: 32 kB / 1.074 GB, free: 3.984 MB / 0.8262 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.0003479/0.3393, allocations: 163.7 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.3396, allocations: 83.95 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3396, allocations: 3.938 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3397, allocations: 31.98 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.34, allocations: 15.92 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.3404, allocations: 172.4 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.3406, allocations: 0.6885 MB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.643e-05/0.3407, allocations: 4 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.3407, allocations: 15.42 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3407, allocations: 0 / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of Templates: time 0.004191/0.3449, allocations: 1.46 MB / 1.077 GB, free: 1.309 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)