Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 104.5 kB / 16.36 MB, free: 6.262 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.001768/0.001768, allocations: 193.2 kB / 17.3 MB, free: 5.848 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.302/1.302, allocations: 205.1 MB / 223.2 MB, free: 12.19 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.77/1.77, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001397/0.001397, allocations: 67.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1919, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.00253/0.1945, allocations: 1.508 MB / 0.7863 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1956, allocations: 0.7682 MB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.1957, allocations: 0 / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.1957, allocations: 11.92 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.775e-05/0.1958, allocations: 7.875 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.0005272/0.1963, allocations: 123.6 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.1964, allocations: 75.83 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.949e-05/0.1965, allocations: 11.98 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.627e-05/0.1966, allocations: 35.8 kB / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.1967, allocations: 43.88 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1967, allocations: 8 kB / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.1969, allocations: 95.91 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.1969, allocations: 15.92 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.197, allocations: 31.8 kB / 0.7875 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1972, allocations: 147.5 kB / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1972, allocations: 0 / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1972, allocations: 0 / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.1972, allocations: 0 / 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.3308/0.528, allocations: 416.1 kB / 0.788 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.528, allocations: 13.19 kB / 0.788 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.5281, allocations: 7.969 kB / 0.788 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.876e-05/0.5282, allocations: 172.1 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.5282, allocations: 4.281 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.5282, allocations: 7.031 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.5284, allocations: 71.06 kB / 0.7883 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.5284, allocations: 0.7188 kB / 0.7883 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.5285, allocations: 3.938 kB / 0.7883 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5285, allocations: 5.156 kB / 0.7883 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.5286, allocations: 34.38 kB / 0.7883 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.5291, allocations: 319.1 kB / 0.7886 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.5292, allocations: 46.81 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.849e-05/0.5293, allocations: 39.14 kB / 0.7887 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.5294, allocations: 0 / 0.7887 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.5296, allocations: 83.59 kB / 0.7888 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.5296, allocations: 0 / 0.7888 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003448/0.5299, allocations: 132.8 kB / 0.7889 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.53, allocations: 55.25 kB / 0.7889 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.438e-05/0.53, allocations: 127.9 kB / 0.7891 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.53, allocations: 32.27 kB / 0.7891 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.5301, allocations: 88.64 kB / 0.7892 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.5301, allocations: 18.34 kB / 0.7892 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.5301, allocations: 27.22 kB / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.274e-05/0.5302, allocations: 318.9 kB / 0.7895 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.5303, allocations: 23.48 kB / 0.7895 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.623e-05/0.5304, allocations: 55.47 kB / 0.7896 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.5305, allocations: 76.58 kB / 0.7897 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5305, allocations: 5.406 kB / 0.7897 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001992/0.5307, allocations: 110.8 kB / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5307, allocations: 5.719 kB / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.5307, allocations: 0 / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.5308, allocations: 4.047 kB / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.5309, allocations: 10.59 kB / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.5309, allocations: 4.781 kB / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.183e-05/0.5309, allocations: 6.797 kB / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.531, allocations: 6.812 kB / 0.7898 GB, free: 47.6 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 5.585e-05/0.531, allocations: 124.1 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.531, allocations: 7.875 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.5311, allocations: 14.72 kB / 0.79 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.5311, allocations: 3.828 kB / 0.79 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5311, allocations: 0.7812 kB / 0.79 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.5311, allocations: 86.14 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.5311, allocations: 1.438 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.697e-05/0.5312, allocations: 9.141 kB / 0.7901 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.5312, allocations: 10.53 kB / 0.7901 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002452/0.5315, allocations: 191.1 kB / 0.7902 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002306/0.5317, allocations: 283.9 kB / 0.7905 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.095e-05/0.5318, allocations: 33.55 kB / 0.7906 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.5319, allocations: 92.95 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of Backend: time 6.51e-07/0.5319, allocations: 0 / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006008/0.5325, allocations: 182.9 kB / 0.7908 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003126/0.5328, allocations: 0.6132 MB / 0.7914 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.003406/0.5362, allocations: 1.495 MB / 0.7929 GB, free: 46.28 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)