Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 108 kB / 15.61 MB, free: 152 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.001738/0.001738, allocations: 195 kB / 16.53 MB, free: 6.664 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.308/1.308, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.687/1.687, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001424/0.001424, allocations: 68 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2229, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002966/0.2259, allocations: 1.504 MB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.2273, allocations: 0.7614 MB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.2274, allocations: 4 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.2274, allocations: 11.92 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.027e-05/0.2275, allocations: 11.86 kB / 0.7857 GB, free: 11.06 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.0006379/0.2281, allocations: 123.6 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2283, allocations: 71.84 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.2284, allocations: 12 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.542e-05/0.2285, allocations: 43.77 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.266e-05/0.2286, allocations: 35.91 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.2286, allocations: 8 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.2288, allocations: 95.84 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.2288, allocations: 23.91 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.2289, allocations: 27.86 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.2291, allocations: 135.9 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2292, allocations: 0 / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2292, allocations: 4 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2292, allocations: 0 / 0.7863 GB, free: 10.49 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.0006008/0.2298, allocations: 423.6 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2298, allocations: 12.03 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.2299, allocations: 30.75 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.2299, allocations: 8.844 kB / 0.7867 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.23, allocations: 180.2 kB / 0.7869 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.2301, allocations: 8.375 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.2301, allocations: 384 / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.2303, allocations: 73.72 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2303, allocations: 0 / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2303, allocations: 4 kB / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2303, allocations: 7.984 kB / 0.787 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.2305, allocations: 39.97 kB / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.231, allocations: 312.7 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.2312, allocations: 62.48 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/0.2313, allocations: 32.97 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.2313, allocations: 0 / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.2315, allocations: 75.38 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.2315, allocations: 3.938 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004328/0.232, allocations: 145.6 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.232, allocations: 51.41 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2321, allocations: 125.7 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.2322, allocations: 29.7 kB / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.2322, allocations: 92.08 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.2323, allocations: 19.8 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.2323, allocations: 21.72 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2324, allocations: 326.8 kB / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.76e-05/0.2325, allocations: 27.98 kB / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.349e-05/0.2326, allocations: 50.48 kB / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.2328, allocations: 70.5 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2328, allocations: 4 kB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002434/0.2331, allocations: 109.5 kB / 0.7885 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2331, allocations: 4 kB / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2331, allocations: 4 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2331, allocations: 0 / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/0.2332, allocations: 15.98 kB / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2332, allocations: 400 / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.2333, allocations: 7.984 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.2333, allocations: 8.062 kB / 0.7885 GB, free: 7.895 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 0.0001009/0.2334, allocations: 122.4 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.2335, allocations: 7.906 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.2335, allocations: 12.38 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2335, allocations: 0 / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2335, allocations: 0 / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2335, allocations: 3.984 kB / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.234, allocations: 386.4 kB / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.234, allocations: 3.984 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.234, allocations: 11.94 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.234, allocations: 0 / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.2341, allocations: 4 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2341, allocations: 3.938 kB / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2341, allocations: 0 / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.2344, allocations: 215.4 kB / 0.7893 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.2344, allocations: 85.02 kB / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.2344, allocations: 0 / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.2345, allocations: 11.92 kB / 0.7894 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.2346, allocations: 0 / 0.7894 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.2346, allocations: 4 kB / 0.7894 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.717e-05/0.2347, allocations: 95.92 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.523e-06/0.2347, allocations: 0 / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003033/0.235, allocations: 43.86 kB / 0.7895 GB, free: 6.805 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.0007431/0.2357, allocations: 0.8087 MB / 0.7903 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.236, allocations: 75.91 kB / 0.7904 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.236, allocations: 0 / 0.7904 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.774e-05/0.2361, allocations: 35.97 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.2363, allocations: 15.86 kB / 0.7904 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.2379, allocations: 1.479 MB / 0.7919 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.2382, allocations: 0.6885 MB / 0.7925 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.2382, allocations: 11.98 kB / 0.7926 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.2382, allocations: 15.44 kB / 0.7926 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2383, allocations: 0 / 0.7926 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.2575, allocations: 2.603 MB / 0.7951 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.185/7.443, allocations: 13.42 kB / 0.7951 GB, free: 1.039 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)