Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.662/3.662, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.002634/0.002633, allocations: 183.3 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.884/3.884, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.001557/0.001557, allocations: 96.05 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008334/0.0008338, allocations: 12.47 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3571, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3372/0.6944, allocations: 133.5 MB / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004492/0.695, allocations: 91.92 kB / 1.03 GB, free: 11.79 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01809/0.7131, allocations: 3.004 MB / 1.033 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.015e-06/0.7131, allocations: 0 / 1.033 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.7132, allocations: 0 / 1.033 GB, free: 8.777 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.001078/0.7143, allocations: 428.9 kB / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.7143, allocations: 8.031 kB / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.836e-05/0.7144, allocations: 8.844 kB / 1.033 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.7147, allocations: 164.4 kB / 1.033 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.7147, allocations: 8.359 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.7148, allocations: 4.375 kB / 1.034 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.7151, allocations: 78.09 kB / 1.034 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.7151, allocations: 192 / 1.034 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.7152, allocations: 11.92 kB / 1.034 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.7152, allocations: 3.938 kB / 1.034 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.7155, allocations: 43.97 kB / 1.034 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.7166, allocations: 320.7 kB / 1.034 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.7168, allocations: 58.42 kB / 1.034 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.717, allocations: 32.97 kB / 1.034 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.7171, allocations: 0 / 1.034 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.7174, allocations: 87.38 kB / 1.034 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.876e-06/0.7174, allocations: 0 / 1.034 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0007602/0.7182, allocations: 145.5 kB / 1.034 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.7183, allocations: 59.41 kB / 1.034 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.7184, allocations: 121.8 kB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.7185, allocations: 29.7 kB / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.7186, allocations: 84.14 kB / 1.035 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.7187, allocations: 19.8 kB / 1.035 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/0.7187, allocations: 0 / 1.035 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.7189, allocations: 322.8 kB / 1.035 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.7191, allocations: 31.98 kB / 1.035 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.7194, allocations: 50.55 kB / 1.035 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.7196, allocations: 31.98 kB / 1.035 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.7196, allocations: 0 / 1.035 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005132/0.7201, allocations: 125.5 kB / 1.035 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.7202, allocations: 4 kB / 1.035 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.7202, allocations: 4 kB / 1.035 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.7202, allocations: 0 / 1.035 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.7204, allocations: 15.92 kB / 1.035 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.7204, allocations: 4 kB / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.7206, allocations: 12.06 kB / 1.035 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.7206, allocations: 11.94 kB / 1.035 GB, free: 6.258 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 0.0001722/0.7208, allocations: 117.8 kB / 1.035 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.7208, allocations: 7.906 kB / 1.035 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.7209, allocations: 12.36 kB / 1.035 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.7209, allocations: 0 / 1.035 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.7209, allocations: 4 kB / 1.035 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.7209, allocations: 0 / 1.035 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000903/0.7219, allocations: 382.8 kB / 1.036 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.7219, allocations: 0 / 1.036 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.658e-05/0.722, allocations: 4 kB / 1.036 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.722, allocations: 0 / 1.036 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.7221, allocations: 7.984 kB / 1.036 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.7221, allocations: 3.938 kB / 1.036 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.7221, allocations: 4 kB / 1.036 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007306/0.7229, allocations: 227.3 kB / 1.036 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/0.723, allocations: 84.95 kB / 1.036 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.723, allocations: 3.984 kB / 1.036 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.7233, allocations: 8 kB / 1.036 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/0.7234, allocations: 15.92 kB / 1.036 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.7234, allocations: 4 kB / 1.036 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001276/0.7236, allocations: 91.92 kB / 1.036 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.51e-07/0.7236, allocations: 0 / 1.036 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007959/0.7244, allocations: 47.94 kB / 1.036 GB, free: 5.152 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.0007339/0.7252, allocations: 170.2 kB / 1.036 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006069/0.7258, allocations: 75.91 kB / 1.036 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7258, allocations: 0 / 1.036 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.7261, allocations: 31.98 kB / 1.036 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.7267, allocations: 16.11 kB / 1.036 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/0.7275, allocations: 205.1 kB / 1.037 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.7279, allocations: 0.6887 MB / 1.037 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.157e-05/0.728, allocations: 8 kB / 1.037 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.728, allocations: 11.44 kB / 1.037 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/0.728, allocations: 0 / 1.037 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of Templates: time 0.01161/0.7397, allocations: 1.532 MB / 1.039 GB, free: 2.375 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)