Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 100.8 kB / 16.36 MB, free: 5.953 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.001067/0.001068, allocations: 195 kB / 17.3 MB, free: 5.574 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.376/1.376, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.777/1.777, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001448/0.001448, allocations: 75.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.228, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003185/0.2313, allocations: 1.496 MB / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.2326, allocations: 0.7644 MB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.704e-05/0.2327, allocations: 11.88 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.2328, allocations: 3.938 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.2329, allocations: 11.92 kB / 0.787 GB, free: 0.8633 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.000672/0.2335, allocations: 123.5 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.2337, allocations: 75.77 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2338, allocations: 15.98 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.329e-05/0.2339, allocations: 27.92 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.764e-05/0.234, allocations: 39.89 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.234, allocations: 15.94 kB / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.2342, allocations: 91.84 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.2343, allocations: 19.97 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.2343, allocations: 31.86 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.2346, allocations: 135.6 kB / 0.7876 GB, free: 304 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2346, allocations: 0 / 0.7876 GB, free: 304 kB / 0.6544 GB Notification: Performance of FrontEnd: time 4.809e-06/0.2346, allocations: 7.938 kB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2346, allocations: 3.938 kB / 0.7876 GB, free: 292 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.3789/0.6135, allocations: 412 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.6136, allocations: 8.156 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.6137, allocations: 11.91 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.6138, allocations: 173.2 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.6138, allocations: 7.625 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.6138, allocations: 10.97 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.6141, allocations: 69.59 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.6141, allocations: 0 / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.6141, allocations: 3.938 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6141, allocations: 0.9375 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.6143, allocations: 41.36 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.6148, allocations: 307.4 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.615, allocations: 55.75 kB / 0.7886 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.785e-05/0.6151, allocations: 32.31 kB / 0.7887 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.6151, allocations: 3.547 kB / 0.7887 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.6153, allocations: 78.62 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.6153, allocations: 0.8438 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003607/0.6157, allocations: 136.5 kB / 0.7889 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.6157, allocations: 57.28 kB / 0.7889 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.6158, allocations: 127.4 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.6158, allocations: 33.95 kB / 0.7891 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.6159, allocations: 89.38 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.6159, allocations: 14.81 kB / 0.7892 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.6159, allocations: 27.95 kB / 0.7892 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.616, allocations: 324.1 kB / 0.7895 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.6161, allocations: 25.42 kB / 0.7895 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.653e-05/0.6162, allocations: 53 kB / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.6163, allocations: 71.14 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6163, allocations: 2.688 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001996/0.6165, allocations: 117.8 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6165, allocations: 6.844 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6166, allocations: 0 / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.6166, allocations: 2.625 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.6167, allocations: 14.38 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.6167, allocations: 6.406 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.6168, allocations: 10.41 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.6168, allocations: 2.625 kB / 0.7898 GB, free: 47.47 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 7.485e-05/0.6169, allocations: 127.3 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.6169, allocations: 6.531 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.6169, allocations: 9.812 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.617, allocations: 4.625 kB / 0.79 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.617, allocations: 0 / 0.79 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.617, allocations: 2.625 kB / 0.79 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.6173, allocations: 379.2 kB / 0.7903 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6173, allocations: 2.656 kB / 0.7903 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.6174, allocations: 9.922 kB / 0.7903 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6174, allocations: 0.8438 kB / 0.7903 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.6174, allocations: 3.594 kB / 0.7903 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6174, allocations: 6.031 kB / 0.7903 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6174, allocations: 0 / 0.7903 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.6177, allocations: 213.9 kB / 0.7905 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.6177, allocations: 83.86 kB / 0.7906 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.6177, allocations: 1 kB / 0.7906 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.6178, allocations: 5.922 kB / 0.7906 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.6179, allocations: 10.03 kB / 0.7906 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.6179, allocations: 8.047 kB / 0.7906 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.6179, allocations: 92.58 kB / 0.7907 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6179, allocations: 0 / 0.7907 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000329/0.6183, allocations: 38.94 kB / 0.7908 GB, free: 46.73 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.0003398/0.6186, allocations: 160.9 kB / 0.7909 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.6189, allocations: 78.78 kB / 0.791 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6189, allocations: 0 / 0.791 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.211e-05/0.619, allocations: 39.52 kB / 0.791 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.6192, allocations: 6.891 kB / 0.791 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.6196, allocations: 182.5 kB / 0.7912 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.6198, allocations: 0.6849 MB / 0.7919 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.513e-05/0.6198, allocations: 8.297 kB / 0.7919 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.6199, allocations: 13.28 kB / 0.7919 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6199, allocations: 3.719 kB / 0.7919 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.003868/0.6237, allocations: 1.45 MB / 0.7933 GB, free: 45.76 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)