Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001095/0.001095, allocations: 195.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 222 MB, free: 4.988 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.749/1.749, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 69.38 kB / 0.6708 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2372, allocations: 114.5 MB / 0.7827 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003046/0.2403, allocations: 1.562 MB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.2417, allocations: 0.7683 MB / 0.7849 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.2417, allocations: 0 / 0.7849 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.2418, allocations: 7.922 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.2419, allocations: 11.92 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.2423, allocations: 107.8 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.888e-05/0.2425, allocations: 71.72 kB / 0.7851 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.2426, allocations: 11.98 kB / 0.7851 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.429e-05/0.2426, allocations: 27.92 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.465e-05/0.2427, allocations: 39.81 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.2427, allocations: 4 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.2429, allocations: 99.84 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.2429, allocations: 7.984 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.243, allocations: 31.84 kB / 0.7853 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.2432, allocations: 143.9 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2432, allocations: 0 / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2432, allocations: 0 / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2432, allocations: 0 / 0.7855 GB, free: 11.06 MB / 0.6075 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.0006192/0.2439, allocations: 413 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2439, allocations: 8.031 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.244, allocations: 12.84 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2441, allocations: 176.2 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.2441, allocations: 4.375 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.2441, allocations: 4.375 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.2443, allocations: 73.91 kB / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2443, allocations: 0 / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2444, allocations: 0 / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2444, allocations: 0 / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.2445, allocations: 47.97 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.2451, allocations: 312.7 kB / 0.7865 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.2452, allocations: 54.48 kB / 0.7865 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.783e-05/0.2453, allocations: 32.97 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2453, allocations: 4 kB / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.2456, allocations: 75.38 kB / 0.7866 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.2456, allocations: 0 / 0.7866 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003794/0.246, allocations: 137.6 kB / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.246, allocations: 51.41 kB / 0.7868 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.806e-05/0.2461, allocations: 129.7 kB / 0.787 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.2461, allocations: 25.7 kB / 0.787 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.2462, allocations: 92.14 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.2462, allocations: 19.75 kB / 0.7871 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.2463, allocations: 33.7 kB / 0.7871 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.2464, allocations: 322.8 kB / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.2464, allocations: 31.92 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.972e-05/0.2465, allocations: 50.55 kB / 0.7875 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.2467, allocations: 70.5 kB / 0.7876 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.2467, allocations: 4 kB / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002236/0.2469, allocations: 109.6 kB / 0.7877 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.247, allocations: 8 kB / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.247, allocations: 4 kB / 0.7877 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.247, allocations: 0 / 0.7877 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.2471, allocations: 15.98 kB / 0.7877 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2471, allocations: 0 / 0.7877 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.028e-05/0.2472, allocations: 7.984 kB / 0.7877 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.2472, allocations: 4 kB / 0.7877 GB, free: 8.523 MB / 0.6075 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.448e-05/0.2473, allocations: 125.7 kB / 0.7878 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.2473, allocations: 7.906 kB / 0.7878 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.2474, allocations: 8.375 kB / 0.7879 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2474, allocations: 4 kB / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2474, allocations: 0 / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2474, allocations: 3.984 kB / 0.7879 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.2478, allocations: 386.8 kB / 0.7882 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2478, allocations: 0 / 0.7882 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.2479, allocations: 11.92 kB / 0.7882 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2479, allocations: 4 kB / 0.7882 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.2479, allocations: 0 / 0.7882 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2479, allocations: 4 kB / 0.7882 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2479, allocations: 3.938 kB / 0.7883 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.2482, allocations: 203.4 kB / 0.7884 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.2482, allocations: 89.02 kB / 0.7885 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.2482, allocations: 0 / 0.7885 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.2483, allocations: 11.98 kB / 0.7885 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.2484, allocations: 7.875 kB / 0.7885 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.2484, allocations: 7.984 kB / 0.7886 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.2485, allocations: 87.94 kB / 0.7886 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2485, allocations: 0 / 0.7886 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002832/0.2487, allocations: 39.98 kB / 0.7887 GB, free: 7.438 MB / 0.6075 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.0003191/0.2491, allocations: 172.2 kB / 0.7888 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.2493, allocations: 75.94 kB / 0.7889 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2493, allocations: 0 / 0.7889 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.694e-05/0.2494, allocations: 35.92 kB / 0.7889 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.2497, allocations: 4 kB / 0.789 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.2501, allocations: 202.2 kB / 0.7891 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.2503, allocations: 0.6848 MB / 0.7898 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.858e-05/0.2503, allocations: 7.984 kB / 0.7898 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.2504, allocations: 15.44 kB / 0.7898 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.2504, allocations: 0 / 0.7898 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of Templates: time 0.003565/0.2539, allocations: 1.368 MB / 0.7912 GB, free: 4.848 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)