Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009179/0.0009179, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001143/0.001143, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.4 MB / 222.1 MB, free: 5.477 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.809/1.809, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005809/0.000581, allocations: 14.28 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2687, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001835/0.2706, allocations: 1.211 MB / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.2718, allocations: 0.7037 MB / 0.7893 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.2719, allocations: 3.938 kB / 0.7893 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.2719, allocations: 4 kB / 0.7893 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.604e-05/0.272, allocations: 11.91 kB / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005858/0.2726, allocations: 95.78 kB / 0.7894 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.2727, allocations: 67.77 kB / 0.7894 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.181e-05/0.2728, allocations: 7.984 kB / 0.7895 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.016e-05/0.2729, allocations: 27.92 kB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.155e-05/0.273, allocations: 43.83 kB / 0.7895 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.273, allocations: 0 / 0.7895 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.2733, allocations: 87.84 kB / 0.7896 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.2733, allocations: 7.984 kB / 0.7896 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.2733, allocations: 41.64 kB / 0.7897 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.2735, allocations: 104 kB / 0.7898 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2735, allocations: 0 / 0.7898 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2735, allocations: 0 / 0.7898 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2735, allocations: 0 / 0.7898 GB, free: 9.387 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.0005897/0.2741, allocations: 408.8 kB / 0.7901 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2742, allocations: 12.03 kB / 0.7902 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.2742, allocations: 30.56 kB / 0.7902 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.2743, allocations: 7.906 kB / 0.7902 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.2744, allocations: 182.9 kB / 0.7904 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.2744, allocations: 4 kB / 0.7904 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.2745, allocations: 4 kB / 0.7904 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.2747, allocations: 73.66 kB / 0.7904 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.2747, allocations: 0 / 0.7904 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.2747, allocations: 3.938 kB / 0.7904 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2747, allocations: 3.938 kB / 0.7905 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.2748, allocations: 43.97 kB / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.2754, allocations: 328.7 kB / 0.7908 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.2756, allocations: 50.55 kB / 0.7909 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.025e-05/0.2757, allocations: 32.97 kB / 0.7909 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.2757, allocations: 8 kB / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.2759, allocations: 83.31 kB / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.784e-06/0.2759, allocations: 0 / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003907/0.2763, allocations: 149.5 kB / 0.7911 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.2763, allocations: 51.48 kB / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.2764, allocations: 125.8 kB / 0.7913 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.2765, allocations: 29.7 kB / 0.7913 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.2765, allocations: 96.25 kB / 0.7914 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.2765, allocations: 11.81 kB / 0.7914 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.2766, allocations: 7.938 kB / 0.7914 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2767, allocations: 318.8 kB / 0.7917 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.2767, allocations: 31.98 kB / 0.7918 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.2768, allocations: 50.55 kB / 0.7918 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.777e-05/0.2769, allocations: 36.3 kB / 0.7918 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2769, allocations: 0 / 0.7918 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002329/0.2772, allocations: 121.5 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2772, allocations: 7.984 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2772, allocations: 0 / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2772, allocations: 0 / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.2773, allocations: 12.06 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.2774, allocations: 15.89 kB / 0.792 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.38e-05/0.2774, allocations: 7.984 kB / 0.792 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.2774, allocations: 4 kB / 0.792 GB, free: 6.836 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,$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 9.763e-05/0.2776, allocations: 118.5 kB / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.2776, allocations: 7.906 kB / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.2776, allocations: 12.36 kB / 0.7921 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2776, allocations: 0 / 0.7921 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2776, allocations: 4 kB / 0.7921 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2776, allocations: 3.953 kB / 0.7921 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.2781, allocations: 386.4 kB / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2781, allocations: 4 kB / 0.7925 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.2781, allocations: 4 kB / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2781, allocations: 0 / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.2782, allocations: 11.92 kB / 0.7925 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2782, allocations: 3.953 kB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2782, allocations: 0 / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.2784, allocations: 215.4 kB / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.2785, allocations: 85.02 kB / 0.7928 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.2785, allocations: 4 kB / 0.7928 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.2786, allocations: 7.984 kB / 0.7928 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.2787, allocations: 15.88 kB / 0.7928 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.2787, allocations: 7.984 kB / 0.7929 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.775e-05/0.2788, allocations: 91.27 kB / 0.7929 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2788, allocations: 4 kB / 0.7929 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002903/0.2791, allocations: 36 kB / 0.793 GB, free: 5.734 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 (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.0007854/0.2799, allocations: 0.8051 MB / 0.7938 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.2801, allocations: 76.22 kB / 0.7938 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.2801, allocations: 0 / 0.7938 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.838e-05/0.2802, allocations: 43.91 kB / 0.7939 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.2805, allocations: 7.953 kB / 0.7939 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.2815, allocations: 0.6118 MB / 0.7945 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.2818, allocations: 0.6887 MB / 0.7952 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.764e-05/0.2818, allocations: 4.188 kB / 0.7952 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.2819, allocations: 23.42 kB / 0.7952 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2819, allocations: 4 kB / 0.7952 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.2965, allocations: 2.315 MB / 0.7974 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.2968, allocations: 241.4 kB / 0.7977 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/2.125, allocations: 0 / 0.7977 GB, free: 0.9883 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) Environment - environmentSimulation: