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.001742/0.001742, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 186.5 kB / 16.25 MB, free: 6.617 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 472.6 MB / 0.7448 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 62.14 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3217, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002526/0.3243, allocations: 1.562 MB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.3258, allocations: 0.7322 MB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.3258, allocations: 0 / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.3259, allocations: 7.938 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.531e-05/0.3259, allocations: 7.922 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.3265, allocations: 111.8 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.992e-05/0.3266, allocations: 71.83 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.3267, allocations: 15.97 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.528e-05/0.3268, allocations: 31.92 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.229e-05/0.3269, allocations: 35.83 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.3269, allocations: 12 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.3271, allocations: 99.84 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.3271, allocations: 19.91 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.3272, allocations: 35.86 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.3274, allocations: 135.9 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3274, allocations: 0 / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.767e-06/0.3274, allocations: 0 / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3274, allocations: 3.938 kB / 1.07 GB, free: 7.941 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.0006646/0.3281, allocations: 417 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3281, allocations: 8.031 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.3282, allocations: 8.844 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3283, allocations: 180.2 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.3283, allocations: 8.375 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.3284, allocations: 4.375 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.3285, allocations: 65.97 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3286, allocations: 0 / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.3286, allocations: 4 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3286, allocations: 0 / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.3287, allocations: 51.84 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.3293, allocations: 304.8 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.3295, allocations: 54.55 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.781e-05/0.3295, allocations: 32.97 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3296, allocations: 7.938 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.3298, allocations: 79.38 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3298, allocations: 0 / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003951/0.3302, allocations: 137.5 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3303, allocations: 55.41 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/0.3304, allocations: 125.7 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3304, allocations: 29.7 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.3305, allocations: 88.14 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.3305, allocations: 15.75 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.3305, allocations: 29.7 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3307, allocations: 322.8 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.3307, allocations: 31.98 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.971e-05/0.3308, allocations: 54.48 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.331, allocations: 66.55 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.331, allocations: 0 / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002191/0.3312, allocations: 113.5 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3313, allocations: 8 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3313, allocations: 0 / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3313, allocations: 0 / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.575e-05/0.3314, allocations: 19.92 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3314, allocations: 4 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.3315, allocations: 7.938 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3315, allocations: 7.984 kB / 1.073 GB, free: 5.398 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 9.052e-05/0.3316, allocations: 129.8 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.3316, allocations: 3.906 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.3316, allocations: 12.38 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3316, allocations: 0 / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3316, allocations: 0 / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3317, allocations: 0 / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.3321, allocations: 390.7 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.3321, allocations: 8 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.3321, allocations: 3.984 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3321, allocations: 4 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3322, allocations: 0 / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3322, allocations: 0 / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3322, allocations: 3.938 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.3324, allocations: 211.3 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.3325, allocations: 89.02 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3325, allocations: 0 / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.031e-05/0.3326, allocations: 7.984 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.3326, allocations: 7.938 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3326, allocations: 0 / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.399e-05/0.3327, allocations: 99.2 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3327, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002822/0.333, allocations: 39.98 kB / 1.074 GB, free: 4.309 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.0003304/0.3333, allocations: 159.8 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.3336, allocations: 75.83 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3336, allocations: 0 / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.3337, allocations: 43.91 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.334, allocations: 8.125 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.3344, allocations: 196.3 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.3347, allocations: 0.6846 MB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.137e-05/0.3348, allocations: 7.984 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.3348, allocations: 11.44 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3348, allocations: 0 / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of Templates: time 0.004069/0.3389, allocations: 1.42 MB / 1.076 GB, free: 1.664 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)