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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001789/0.00179, allocations: 106.2 kB / 16.35 MB, free: 5.879 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.001512/0.001512, allocations: 191 kB / 17.29 MB, free: 5.516 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.778/1.778, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.002525/0.002526, allocations: 68.28 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2888, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002944/0.2918, allocations: 1.492 MB / 0.7862 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.2932, allocations: 0.7721 MB / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.2933, allocations: 0 / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.2933, allocations: 7.875 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.502e-05/0.2934, allocations: 7.922 kB / 0.787 GB, free: 0.8984 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 NFTyping.typeClassSections: time 0.000633/0.294, allocations: 127.6 kB / 0.7871 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.2942, allocations: 75.7 kB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.038e-05/0.2943, allocations: 19.98 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2944, allocations: 35.84 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.2945, allocations: 35.89 kB / 0.7873 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.2945, allocations: 8 kB / 0.7873 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.2947, allocations: 95.84 kB / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.2948, allocations: 23.91 kB / 0.7874 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.2948, allocations: 27.86 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.2951, allocations: 135.6 kB / 0.7876 GB, free: 332 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2951, allocations: 12 kB / 0.7876 GB, free: 320 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2951, allocations: 0 / 0.7876 GB, free: 320 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2951, allocations: 0 / 0.7876 GB, free: 320 kB / 0.6544 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.3476/0.6427, allocations: 410.7 kB / 0.788 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.6428, allocations: 12.58 kB / 0.788 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.6428, allocations: 11.91 kB / 0.788 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.789e-05/0.6429, allocations: 174.4 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.643, allocations: 2.125 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.643, allocations: 8.469 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.6432, allocations: 66.64 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.6432, allocations: 0.6875 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.6432, allocations: 7.969 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.6432, allocations: 3.969 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.6434, allocations: 41.25 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.6439, allocations: 315.8 kB / 0.7886 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.644, allocations: 46.12 kB / 0.7886 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.101e-05/0.6441, allocations: 37.45 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.6441, allocations: 3.938 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.6443, allocations: 76.36 kB / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.6443, allocations: 0 / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003459/0.6447, allocations: 140.8 kB / 0.7889 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.6447, allocations: 54.03 kB / 0.7889 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.6448, allocations: 127.2 kB / 0.789 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.6448, allocations: 28.33 kB / 0.7891 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.6448, allocations: 90.7 kB / 0.7892 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.6449, allocations: 22.56 kB / 0.7892 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.6449, allocations: 26.5 kB / 0.7892 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.06e-05/0.645, allocations: 317.4 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.341e-05/0.645, allocations: 30.34 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.6451, allocations: 51.66 kB / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.6453, allocations: 72.88 kB / 0.7897 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.6453, allocations: 0 / 0.7897 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001951/0.6455, allocations: 117.2 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6455, allocations: 6.156 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.6455, allocations: 0 / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.6455, allocations: 3 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.6456, allocations: 16.86 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.6456, allocations: 2.688 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.6457, allocations: 12.03 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.6457, allocations: 2.688 kB / 0.7898 GB, free: 47.54 MB / 0.6544 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 6.316e-05/0.6458, allocations: 122.6 kB / 0.7899 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.6458, allocations: 6.812 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.6458, allocations: 14.2 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6458, allocations: 0 / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6459, allocations: 3.25 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6459, allocations: 6.266 kB / 0.79 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.6462, allocations: 380.4 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6462, allocations: 1.156 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.6463, allocations: 6.094 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6463, allocations: 0 / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.6463, allocations: 8.312 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6463, allocations: 0.625 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.6463, allocations: 3.328 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.6465, allocations: 213.8 kB / 0.7905 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.6466, allocations: 85.44 kB / 0.7906 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.6466, allocations: 6.594 kB / 0.7906 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.832e-05/0.6467, allocations: 2.5 kB / 0.7906 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.6467, allocations: 10.92 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.6467, allocations: 3.812 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.6468, allocations: 92.92 kB / 0.7907 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6468, allocations: 1.375 kB / 0.7907 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003027/0.6471, allocations: 38.72 kB / 0.7908 GB, free: 46.81 MB / 0.6544 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.0003012/0.6474, allocations: 155 kB / 0.7909 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.6476, allocations: 77.22 kB / 0.791 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6476, allocations: 0.8125 kB / 0.791 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.852e-05/0.6477, allocations: 32.77 kB / 0.791 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.648, allocations: 16.81 kB / 0.791 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.6483, allocations: 179.2 kB / 0.7912 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.6485, allocations: 0.6914 MB / 0.7919 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.37e-05/0.6485, allocations: 8.906 kB / 0.7919 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.6485, allocations: 9.375 kB / 0.7919 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6485, allocations: 1.469 kB / 0.7919 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.003643/0.6522, allocations: 1.442 MB / 0.7933 GB, free: 45.84 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (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 & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)