Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.001205/0.001205, allocations: 108 kB / 15.6 MB, free: 132 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.001448/0.001448, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.457/1.457, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.697/1.697, allocations: 292.3 MB / 0.5489 GB, free: 13.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.001499/0.001499, allocations: 73.31 kB / 0.6716 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2376, allocations: 114.6 MB / 0.7835 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003136/0.2408, allocations: 1.492 MB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.2424, allocations: 0.7731 MB / 0.7857 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.2425, allocations: 7.938 kB / 0.7857 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.713e-05/0.2426, allocations: 3.938 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.43e-05/0.2427, allocations: 11.86 kB / 0.7857 GB, free: 11.17 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.0006349/0.2433, allocations: 119.6 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.2434, allocations: 71.83 kB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.2436, allocations: 11.98 kB / 0.7859 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.725e-05/0.2437, allocations: 39.84 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.2437, allocations: 35.89 kB / 0.786 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.2438, allocations: 8 kB / 0.786 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.244, allocations: 99.84 kB / 0.7861 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.244, allocations: 15.92 kB / 0.7861 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.2441, allocations: 31.86 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.2443, allocations: 139.9 kB / 0.7863 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2443, allocations: 0 / 0.7863 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2444, allocations: 0 / 0.7863 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2444, allocations: 0 / 0.7863 GB, free: 10.61 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.0007024/0.2451, allocations: 421 kB / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.2451, allocations: 11.97 kB / 0.7867 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.2452, allocations: 34.75 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.2452, allocations: 8.844 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.2454, allocations: 184.1 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.2454, allocations: 4.375 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.2455, allocations: 8.375 kB / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.2457, allocations: 65.78 kB / 0.787 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2457, allocations: 4 kB / 0.787 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.2457, allocations: 4 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.2457, allocations: 4 kB / 0.787 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.2459, allocations: 39.91 kB / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006442/0.2465, allocations: 312.7 kB / 0.7873 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.2467, allocations: 54.5 kB / 0.7874 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.157e-05/0.2468, allocations: 36.95 kB / 0.7874 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.2468, allocations: 4 kB / 0.7874 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.2471, allocations: 83.38 kB / 0.7875 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/0.2471, allocations: 0 / 0.7875 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004182/0.2475, allocations: 137.6 kB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.2476, allocations: 55.41 kB / 0.7877 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2477, allocations: 125.7 kB / 0.7878 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.2478, allocations: 29.7 kB / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.2478, allocations: 88.08 kB / 0.7879 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.2479, allocations: 15.81 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.2479, allocations: 29.7 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2481, allocations: 326.8 kB / 0.7883 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.2482, allocations: 23.98 kB / 0.7883 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.2483, allocations: 58.42 kB / 0.7883 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.2485, allocations: 70.55 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2485, allocations: 0 / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002385/0.2487, allocations: 113.5 kB / 0.7885 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.2487, allocations: 8.938 kB / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2488, allocations: 0 / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2488, allocations: 0 / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.2489, allocations: 15.92 kB / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.2489, allocations: 4 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.249, allocations: 8.062 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.249, allocations: 7.984 kB / 0.7886 GB, free: 8.004 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.0001097/0.2491, allocations: 122.4 kB / 0.7887 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.2491, allocations: 3.906 kB / 0.7887 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.2492, allocations: 12.38 kB / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2492, allocations: 0 / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2492, allocations: 0 / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.2492, allocations: 0 / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.2497, allocations: 386.3 kB / 0.7891 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2497, allocations: 0 / 0.7891 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.2498, allocations: 7.984 kB / 0.7891 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.2498, allocations: 4 kB / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2498, allocations: 4 kB / 0.7891 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2498, allocations: 3.938 kB / 0.7891 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2498, allocations: 0 / 0.7891 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.2501, allocations: 215.3 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.2502, allocations: 81.02 kB / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.2502, allocations: 0 / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.2503, allocations: 23.91 kB / 0.7894 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.2503, allocations: 7.938 kB / 0.7894 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.2504, allocations: 0 / 0.7894 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.279e-05/0.2504, allocations: 95.92 kB / 0.7895 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.513e-06/0.2504, allocations: 0 / 0.7895 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003271/0.2508, allocations: 47.92 kB / 0.7895 GB, free: 6.91 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.0008374/0.2516, allocations: 0.8016 MB / 0.7903 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.2519, allocations: 71.89 kB / 0.7904 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2519, allocations: 0 / 0.7904 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.252, allocations: 31.98 kB / 0.7904 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.2523, allocations: 15.92 kB / 0.7904 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.2541, allocations: 1.488 MB / 0.7919 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.2544, allocations: 0.6924 MB / 0.7925 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.891e-05/0.2545, allocations: 7.938 kB / 0.7926 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.2545, allocations: 23.42 kB / 0.7926 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.2545, allocations: 0 / 0.7926 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.2752, allocations: 2.601 MB / 0.7951 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.292, allocations: 14.48 kB / 0.7951 GB, free: 1.156 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)