Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001647, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.599/1.599, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.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.847/1.847, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.00237/0.00237, allocations: 74.11 kB / 0.6723 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2865, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002894/0.2894, allocations: 1.504 MB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.2909, allocations: 0.7692 MB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.2909, allocations: 0 / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.291, allocations: 3.938 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.782e-05/0.2911, allocations: 15.86 kB / 0.7864 GB, free: 10.43 MB / 0.6075 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.0005987/0.2917, allocations: 123.6 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2918, allocations: 75.83 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2919, allocations: 8 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.351e-05/0.292, allocations: 43.78 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.2921, allocations: 35.89 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.2921, allocations: 4 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.2923, allocations: 95.91 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.2924, allocations: 19.92 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.2924, allocations: 39.78 kB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.2926, allocations: 139.6 kB / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2927, allocations: 0 / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2927, allocations: 0 / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.2927, allocations: 3.938 kB / 0.7869 GB, free: 9.848 MB / 0.6075 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.000812/0.2935, allocations: 417 kB / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2935, allocations: 11.97 kB / 0.7873 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.2936, allocations: 8.844 kB / 0.7873 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2937, allocations: 172.2 kB / 0.7875 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.2938, allocations: 8.375 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.2938, allocations: 8.375 kB / 0.7875 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.294, allocations: 69.91 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.294, allocations: 4 kB / 0.7876 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.294, allocations: 3.984 kB / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.294, allocations: 0 / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.2941, allocations: 31.98 kB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/0.2948, allocations: 320.8 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.2949, allocations: 50.5 kB / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.063e-05/0.295, allocations: 36.97 kB / 0.788 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.295, allocations: 0 / 0.788 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.2952, allocations: 83.28 kB / 0.7881 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.2952, allocations: 0 / 0.7881 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003849/0.2956, allocations: 133.6 kB / 0.7882 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.2957, allocations: 63.47 kB / 0.7883 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2958, allocations: 117.8 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.2958, allocations: 29.7 kB / 0.7884 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.2959, allocations: 100.1 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.2959, allocations: 15.75 kB / 0.7885 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.296, allocations: 29.7 kB / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2962, allocations: 322.8 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.2963, allocations: 19.98 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.515e-05/0.2964, allocations: 58.48 kB / 0.7889 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.2966, allocations: 78.48 kB / 0.789 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2966, allocations: 4 kB / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002903/0.2969, allocations: 105.5 kB / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.2969, allocations: 8.938 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2969, allocations: 400 / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.297, allocations: 64 / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.834e-05/0.2971, allocations: 12 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2971, allocations: 7.984 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.253e-05/0.2971, allocations: 8 kB / 0.7892 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.2972, allocations: 4 kB / 0.7892 GB, free: 7.305 MB / 0.6075 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 9.031e-05/0.2973, allocations: 125.4 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.2973, allocations: 7.906 kB / 0.7893 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.2973, allocations: 12.36 kB / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2973, allocations: 4 kB / 0.7893 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2973, allocations: 3.938 kB / 0.7893 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2973, allocations: 0 / 0.7893 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.2978, allocations: 382.4 kB / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2978, allocations: 4 kB / 0.7897 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.2979, allocations: 7.938 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2979, allocations: 4 kB / 0.7897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.2979, allocations: 3.984 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2979, allocations: 0 / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2979, allocations: 7.938 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.2982, allocations: 203.4 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.2983, allocations: 81.02 kB / 0.79 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.2983, allocations: 3.984 kB / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.2984, allocations: 8 kB / 0.79 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.2984, allocations: 15.91 kB / 0.79 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.2984, allocations: 4 kB / 0.79 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.128e-05/0.2985, allocations: 99.2 kB / 0.7901 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2985, allocations: 0 / 0.7901 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003046/0.2988, allocations: 36 kB / 0.7901 GB, free: 6.215 MB / 0.6075 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.0004684/0.2993, allocations: 166.3 kB / 0.7903 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002889/0.2996, allocations: 71.94 kB / 0.7903 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2996, allocations: 0 / 0.7903 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.2997, allocations: 43.92 kB / 0.7904 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.3, allocations: 3.984 kB / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007057/0.3007, allocations: 184.3 kB / 0.7906 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.3012, allocations: 0.6925 MB / 0.7912 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.134e-05/0.3013, allocations: 4 kB / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.3013, allocations: 11.44 kB / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3013, allocations: 0 / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of Templates: time 0.004456/0.3058, allocations: 1.452 MB / 0.7927 GB, free: 3.559 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)