Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 108.2 kB / 16.37 MB, free: 6.312 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.001345/0.001345, allocations: 190.3 kB / 17.3 MB, free: 5.867 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.276/1.276, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.733/1.733, allocations: 292.3 MB / 0.5496 GB, free: 17.39 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.001462/0.001462, allocations: 67.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1937, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002636/0.1964, allocations: 1.496 MB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1976, allocations: 0.7683 MB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.1977, allocations: 3.938 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.1978, allocations: 3.938 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.384e-05/0.1978, allocations: 7.922 kB / 0.787 GB, free: 0.8398 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.0005637/0.1984, allocations: 139.5 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.1985, allocations: 71.78 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.1986, allocations: 11.98 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.566e-05/0.1987, allocations: 31.91 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.278e-05/0.1988, allocations: 31.91 kB / 0.7873 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1988, allocations: 11.94 kB / 0.7873 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.199, allocations: 95.84 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.199, allocations: 23.95 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.1991, allocations: 31.86 kB / 0.7875 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1993, allocations: 139.6 kB / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1993, allocations: 0 / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of FrontEnd: time 3.317e-06/0.1993, allocations: 3.938 kB / 0.7876 GB, free: 264 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.1993, allocations: 3.938 kB / 0.7876 GB, free: 260 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.3251/0.5244, allocations: 412.9 kB / 0.788 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.5245, allocations: 7.156 kB / 0.788 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.5245, allocations: 11.98 kB / 0.788 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.539e-05/0.5246, allocations: 173.8 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5247, allocations: 3.219 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.5247, allocations: 10.38 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.5249, allocations: 65.19 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.5249, allocations: 3.594 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.5249, allocations: 3.938 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5249, allocations: 3.188 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.5251, allocations: 38.17 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/0.5256, allocations: 315.8 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.5257, allocations: 52.52 kB / 0.7886 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.713e-05/0.5258, allocations: 34.05 kB / 0.7887 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.5258, allocations: 2.531 kB / 0.7887 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.526, allocations: 74.34 kB / 0.7888 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.526, allocations: 0 / 0.7888 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003522/0.5264, allocations: 137.1 kB / 0.7889 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.5264, allocations: 61.44 kB / 0.7889 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/0.5265, allocations: 117.1 kB / 0.7891 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.5265, allocations: 32.48 kB / 0.7891 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.5266, allocations: 93.95 kB / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.5266, allocations: 20.36 kB / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.5266, allocations: 28.19 kB / 0.7892 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.432e-05/0.5267, allocations: 316.1 kB / 0.7895 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.563e-05/0.5268, allocations: 28.78 kB / 0.7895 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.922e-05/0.5269, allocations: 53.56 kB / 0.7896 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.527, allocations: 80.45 kB / 0.7897 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.527, allocations: 0 / 0.7897 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001984/0.5272, allocations: 110 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.5272, allocations: 7.875 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5272, allocations: 1.344 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5273, allocations: 1.875 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/0.5274, allocations: 20.33 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.5274, allocations: 0 / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.5274, allocations: 11.66 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.5275, allocations: 3.5 kB / 0.7898 GB, free: 47.58 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.371e-05/0.5275, allocations: 121.5 kB / 0.7899 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.5276, allocations: 6.562 kB / 0.7899 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.5276, allocations: 14.5 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5276, allocations: 3.5 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5276, allocations: 2 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.5276, allocations: 83.48 kB / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.5276, allocations: 0 / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.783e-05/0.5277, allocations: 11.16 kB / 0.7901 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.5278, allocations: 12.73 kB / 0.7901 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002378/0.528, allocations: 187.7 kB / 0.7902 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002293/0.5282, allocations: 281.1 kB / 0.7905 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.999e-05/0.5283, allocations: 32.48 kB / 0.7905 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.146e-05/0.5284, allocations: 96.75 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of Backend: time 2.7e-07/0.5284, allocations: 0 / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006401/0.529, allocations: 184.9 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003343/0.5294, allocations: 0.6121 MB / 0.7914 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.00383/0.5332, allocations: 1.495 MB / 0.7929 GB, free: 46.27 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)