Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.251/1.251, allocations: 252 MB / 267.9 MB, free: 10.89 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.0008774/0.0008775, allocations: 179.7 kB / 327.6 MB, free: 2.137 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.364/1.364, allocations: 205.4 MB / 0.5785 GB, free: 20.11 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.0007678/0.0007678, allocations: 86.36 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 12.53 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1657, allocations: 106.3 MB / 0.9012 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.3098, allocations: 133.7 MB / 1.032 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.31, allocations: 87.94 kB / 1.032 GB, free: 9.664 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.008162/0.3182, allocations: 3.004 MB / 1.035 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3182, allocations: 0 / 1.035 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.3183, allocations: 0 / 1.035 GB, free: 6.652 MB / 0.6823 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.0004552/0.3187, allocations: 432.9 kB / 1.035 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3188, allocations: 12.03 kB / 1.035 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.3188, allocations: 4.844 kB / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.934e-05/0.3189, allocations: 172.2 kB / 1.035 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.3189, allocations: 8.375 kB / 1.035 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.319, allocations: 4.375 kB / 1.035 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3191, allocations: 70.16 kB / 1.036 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3191, allocations: 192 / 1.036 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3192, allocations: 7.938 kB / 1.036 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.3192, allocations: 8 kB / 1.036 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.3193, allocations: 39.97 kB / 1.036 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.3199, allocations: 320.7 kB / 1.036 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.32, allocations: 62.41 kB / 1.036 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.3201, allocations: 32.97 kB / 1.036 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3202, allocations: 8.062 kB / 1.036 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.3203, allocations: 79.38 kB / 1.036 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3204, allocations: 0 / 1.036 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003787/0.3207, allocations: 141.5 kB / 1.036 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.3208, allocations: 63.34 kB / 1.036 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.709e-05/0.3209, allocations: 121.8 kB / 1.036 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3209, allocations: 29.7 kB / 1.036 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.321, allocations: 92.05 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.321, allocations: 15.88 kB / 1.036 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.321, allocations: 0 / 1.036 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3211, allocations: 322.8 kB / 1.037 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.3212, allocations: 31.98 kB / 1.037 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.415e-05/0.3213, allocations: 50.98 kB / 1.037 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.3215, allocations: 82.48 kB / 1.037 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3215, allocations: 0 / 1.037 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002212/0.3217, allocations: 113.5 kB / 1.037 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3217, allocations: 11.98 kB / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3217, allocations: 0 / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3218, allocations: 0 / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.3218, allocations: 20.06 kB / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3219, allocations: 0 / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.3219, allocations: 11.89 kB / 1.037 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.3219, allocations: 4 kB / 1.037 GB, free: 4.082 MB / 0.6823 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.897e-05/0.322, allocations: 121.7 kB / 1.037 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.3221, allocations: 8 kB / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.3221, allocations: 12.36 kB / 1.037 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3221, allocations: 4 kB / 1.037 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3221, allocations: 4 kB / 1.037 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3221, allocations: 0 / 1.037 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.3225, allocations: 390.3 kB / 1.038 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3226, allocations: 0 / 1.038 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.3226, allocations: 4 kB / 1.038 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3226, allocations: 7.938 kB / 1.038 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3226, allocations: 7.984 kB / 1.038 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3226, allocations: 480 / 1.038 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3226, allocations: 0 / 1.038 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.3229, allocations: 211.4 kB / 1.038 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.3229, allocations: 81.02 kB / 1.038 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.323, allocations: 12 kB / 1.038 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/0.3231, allocations: 11.92 kB / 1.038 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.3231, allocations: 7.922 kB / 1.038 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3231, allocations: 4 kB / 1.038 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.3232, allocations: 95.42 kB / 1.038 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3232, allocations: 0 / 1.038 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002739/0.3235, allocations: 51.94 kB / 1.038 GB, free: 2.969 MB / 0.6823 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.0003122/0.3238, allocations: 175 kB / 1.038 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.324, allocations: 75.94 kB / 1.038 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.324, allocations: 0 / 1.038 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.128e-05/0.3241, allocations: 48.05 kB / 1.038 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.3244, allocations: 7.984 kB / 1.038 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.3247, allocations: 201.1 kB / 1.039 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.325, allocations: 0.6927 MB / 1.039 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.778e-05/0.325, allocations: 7.984 kB / 1.039 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.325, allocations: 7.438 kB / 1.039 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.325, allocations: 4 kB / 1.039 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of Templates: time 0.003485/0.3285, allocations: 1.513 MB / 1.041 GB, free: 212 kB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)