Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001164, allocations: 115.1 kB / 16.37 MB, free: 5.996 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.001047/0.001047, allocations: 188 kB / 17.3 MB, free: 5.617 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.488/1.488, 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.796/1.796, 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.001392/0.001392, allocations: 63.91 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2074, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002602/0.21, allocations: 1.508 MB / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.2112, allocations: 0.7605 MB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.2113, allocations: 8 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.2113, allocations: 3.938 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.925e-05/0.2114, allocations: 11.86 kB / 0.787 GB, free: 0.8242 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.000539/0.212, allocations: 129.9 kB / 0.7871 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.2121, allocations: 79.7 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/0.2122, allocations: 12 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.859e-05/0.2123, allocations: 35.91 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.2123, allocations: 39.83 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.2124, allocations: 8 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.2125, allocations: 95.84 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.2126, allocations: 19.97 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.2126, allocations: 31.86 kB / 0.7875 GB, free: 392 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.2128, allocations: 139.5 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2129, allocations: 0 / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2129, allocations: 4 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2129, allocations: 0 / 0.7876 GB, free: 248 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.3524/0.5653, allocations: 413 kB / 0.788 GB, free: 49.49 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.5653, allocations: 8.938 kB / 0.788 GB, free: 49.49 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.5654, allocations: 11.52 kB / 0.788 GB, free: 49.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.5655, allocations: 174.6 kB / 0.7882 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.5655, allocations: 2.656 kB / 0.7882 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.5656, allocations: 6.328 kB / 0.7882 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.5658, allocations: 70.27 kB / 0.7882 GB, free: 49.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5658, allocations: 2.625 kB / 0.7882 GB, free: 49.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.5658, allocations: 4.781 kB / 0.7883 GB, free: 49.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5658, allocations: 0 / 0.7883 GB, free: 49.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.566, allocations: 44.45 kB / 0.7883 GB, free: 49.25 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005607/0.5665, allocations: 311 kB / 0.7886 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.5667, allocations: 50.77 kB / 0.7886 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.403e-05/0.5667, allocations: 35.78 kB / 0.7887 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.5668, allocations: 2.594 kB / 0.7887 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.567, allocations: 77.27 kB / 0.7888 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.567, allocations: 2.438 kB / 0.7888 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003552/0.5674, allocations: 138.2 kB / 0.7889 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.5674, allocations: 54.91 kB / 0.7889 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.857e-05/0.5675, allocations: 127.7 kB / 0.7891 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.5675, allocations: 34.14 kB / 0.7891 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.5675, allocations: 87.45 kB / 0.7892 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.5676, allocations: 20.64 kB / 0.7892 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.5676, allocations: 28.23 kB / 0.7892 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.5677, allocations: 324.4 kB / 0.7895 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-05/0.5677, allocations: 22.94 kB / 0.7896 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.5678, allocations: 50.67 kB / 0.7896 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.568, allocations: 79.34 kB / 0.7897 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.568, allocations: 0 / 0.7897 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001929/0.5682, allocations: 114.7 kB / 0.7898 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5682, allocations: 3 kB / 0.7898 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5682, allocations: 2.719 kB / 0.7898 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.5682, allocations: 3.734 kB / 0.7898 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.5683, allocations: 17.84 kB / 0.7898 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5683, allocations: 0 / 0.7898 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.879e-05/0.5684, allocations: 9.531 kB / 0.7898 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.5684, allocations: 5.5 kB / 0.7898 GB, free: 48.17 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.208e-05/0.5685, allocations: 122.2 kB / 0.7899 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.5685, allocations: 6.469 kB / 0.79 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.5685, allocations: 10.28 kB / 0.79 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5685, allocations: 2.344 kB / 0.79 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5686, allocations: 0 / 0.79 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5686, allocations: 0.5 kB / 0.79 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.5689, allocations: 383.5 kB / 0.7903 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5689, allocations: 0 / 0.7903 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.569, allocations: 6.906 kB / 0.7903 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.569, allocations: 2.953 kB / 0.7903 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.569, allocations: 10.16 kB / 0.7903 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.569, allocations: 0.7188 kB / 0.7903 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.569, allocations: 0 / 0.7903 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.5692, allocations: 216.3 kB / 0.7906 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.5693, allocations: 88.58 kB / 0.7906 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.5693, allocations: 5.141 kB / 0.7906 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.5694, allocations: 7.188 kB / 0.7907 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.5694, allocations: 8.875 kB / 0.7907 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.5695, allocations: 6.094 kB / 0.7907 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.5695, allocations: 95.58 kB / 0.7908 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5695, allocations: 4.562 kB / 0.7908 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003078/0.5698, allocations: 33.41 kB / 0.7908 GB, free: 47.43 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.0003273/0.5701, allocations: 155.6 kB / 0.7909 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.5704, allocations: 69.3 kB / 0.791 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5704, allocations: 5.781 kB / 0.791 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.5705, allocations: 34.58 kB / 0.791 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.5708, allocations: 12.31 kB / 0.7911 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.5712, allocations: 210.2 kB / 0.7913 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.5713, allocations: 0.6901 MB / 0.7919 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.5713, allocations: 11.53 kB / 0.7919 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.5713, allocations: 2.531 kB / 0.7919 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.003374/0.5747, allocations: 1.618 MB / 0.7935 GB, free: 46.39 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)