Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.328/1.328, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009379/0.000938, allocations: 172.4 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205 MB / 0.5766 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00088/0.0008803, allocations: 95.97 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 8.5 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3265, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002215/0.3288, allocations: 1.227 MB / 0.8979 GB, free: 66.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.3304, allocations: 0.7891 MB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/0.3305, allocations: 3.938 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.525e-05/0.3305, allocations: 3.984 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.848e-05/0.3306, allocations: 3.938 kB / 0.8987 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.3312, allocations: 99.77 kB / 0.8988 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.3314, allocations: 79.7 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3315, allocations: 15.98 kB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.3316, allocations: 31.86 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.3317, allocations: 35.83 kB / 0.899 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.3317, allocations: 0 / 0.899 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.3319, allocations: 95.84 kB / 0.8991 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.332, allocations: 7.984 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.332, allocations: 35.8 kB / 0.8991 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.3322, allocations: 95.81 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3323, allocations: 0 / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3323, allocations: 4 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3323, allocations: 0 / 0.8992 GB, free: 65.64 MB / 0.6042 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.0006464/0.3329, allocations: 409 kB / 0.8996 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.333, allocations: 12.03 kB / 0.8996 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.78e-05/0.3331, allocations: 8.844 kB / 0.8996 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.051e-05/0.3332, allocations: 172.3 kB / 0.8998 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.3332, allocations: 384 / 0.8998 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.3332, allocations: 8.375 kB / 0.8998 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.3335, allocations: 81.89 kB / 0.8999 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3335, allocations: 0 / 0.8999 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3335, allocations: 4 kB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3335, allocations: 0 / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.3337, allocations: 39.97 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008826/0.3346, allocations: 328.7 kB / 0.9002 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.3348, allocations: 58.48 kB / 0.9003 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.335, allocations: 32.97 kB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.335, allocations: 4 kB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.3352, allocations: 83.28 kB / 0.9004 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.895e-06/0.3353, allocations: 0 / 0.9004 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004879/0.3357, allocations: 145.7 kB / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.3358, allocations: 55.34 kB / 0.9006 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3359, allocations: 130.1 kB / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3359, allocations: 25.7 kB / 0.9007 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.336, allocations: 88.14 kB / 0.9008 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.336, allocations: 15.81 kB / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.3361, allocations: 21.7 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.3361, allocations: 326.8 kB / 0.9012 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-05/0.3362, allocations: 23.98 kB / 0.9012 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.3364, allocations: 50.61 kB / 0.9012 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.3366, allocations: 90.8 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3366, allocations: 0 / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002692/0.3369, allocations: 125.5 kB / 0.9014 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3369, allocations: 4 kB / 0.9014 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3369, allocations: 4 kB / 0.9014 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.3369, allocations: 3.938 kB / 0.9014 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.3371, allocations: 15.98 kB / 0.9015 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3371, allocations: 4 kB / 0.9015 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.565e-05/0.3372, allocations: 11.94 kB / 0.9015 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.3372, allocations: 4 kB / 0.9015 GB, free: 63.05 MB / 0.6042 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.0001189/0.3374, allocations: 129.7 kB / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.3374, allocations: 11.89 kB / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.3374, allocations: 8.375 kB / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3374, allocations: 0 / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3375, allocations: 4 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3375, allocations: 3.984 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.338, allocations: 378.5 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.338, allocations: 0 / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.3381, allocations: 11.94 kB / 0.902 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3381, allocations: 7.984 kB / 0.902 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3381, allocations: 0 / 0.902 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3381, allocations: 0 / 0.902 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3381, allocations: 3.938 kB / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.3384, allocations: 215.4 kB / 0.9022 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.3385, allocations: 85 kB / 0.9023 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.3385, allocations: 8 kB / 0.9023 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3387, allocations: 4 kB / 0.9023 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.3387, allocations: 7.922 kB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.3387, allocations: 8 kB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.701e-05/0.3388, allocations: 91.27 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3388, allocations: 0 / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004177/0.3392, allocations: 36 kB / 0.9024 GB, free: 61.96 MB / 0.6042 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.0003935/0.3396, allocations: 158.2 kB / 0.9026 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002846/0.3399, allocations: 75.95 kB / 0.9027 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3399, allocations: 0 / 0.9027 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3401, allocations: 43.86 kB / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.3404, allocations: 15.92 kB / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/0.3409, allocations: 216.6 kB / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.3411, allocations: 0.6887 MB / 0.9036 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.3412, allocations: 15.44 kB / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.3412, allocations: 0 / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.003849/0.345, allocations: 1.616 MB / 0.9052 GB, free: 59.1 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)