Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.644/2.644, allocations: 287.5 MB / 302.4 MB, free: 8.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001353, allocations: 175 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.216/2.216, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008975/0.0008974, allocations: 90.36 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008185/0.000819, allocations: 16.66 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2297, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001704/0.2315, allocations: 1.199 MB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.233, allocations: 0.7269 MB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.2331, allocations: 0 / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.2331, allocations: 3.938 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.2332, allocations: 7.875 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005795/0.2338, allocations: 103.8 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2339, allocations: 63.77 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.096e-05/0.234, allocations: 8 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.088e-05/0.2341, allocations: 31.91 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.2342, allocations: 35.83 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.2342, allocations: 4 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.2345, allocations: 83.91 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.403e-05/0.2345, allocations: 15.91 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.2345, allocations: 37.7 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.2347, allocations: 96.05 kB / 0.9808 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2348, allocations: 0 / 0.9808 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2348, allocations: 0 / 0.9808 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.2348, allocations: 0 / 0.9808 GB, free: 25.85 MB / 0.6198 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.0006121/0.2354, allocations: 404.8 kB / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.2355, allocations: 20 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.919e-05/0.2355, allocations: 34.5 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.2356, allocations: 15.86 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.617e-05/0.2357, allocations: 171 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.2357, allocations: 8 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.2357, allocations: 3.984 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.236, allocations: 69.66 kB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.236, allocations: 0 / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.236, allocations: 4 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2361, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.2363, allocations: 55.89 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007706/0.2371, allocations: 320.7 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.2372, allocations: 50.56 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.2374, allocations: 32.97 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.2374, allocations: 4 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.2377, allocations: 83.31 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/0.2377, allocations: 0 / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005704/0.2383, allocations: 153.6 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.2383, allocations: 55.39 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/0.2384, allocations: 125.8 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.2385, allocations: 29.7 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.2385, allocations: 96.25 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.2386, allocations: 11.81 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.2386, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.2386, allocations: 322.8 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.2388, allocations: 27.92 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.2389, allocations: 58.5 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.2391, allocations: 35.92 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2391, allocations: 0 / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003521/0.2395, allocations: 125.5 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.2395, allocations: 8 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.2395, allocations: 0 / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2395, allocations: 3.953 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.2397, allocations: 15.98 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2397, allocations: 0 / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.2398, allocations: 4 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.2399, allocations: 4.062 kB / 0.983 GB, free: 23.3 MB / 0.6198 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.61e-05/0.24, allocations: 127.9 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.24, allocations: 7.906 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.24, allocations: 12.38 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.24, allocations: 0 / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2401, allocations: 3.953 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2401, allocations: 0 / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005832/0.2407, allocations: 390.5 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.2407, allocations: 0 / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.261e-05/0.2408, allocations: 15.92 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.2408, allocations: 0 / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.2408, allocations: 3.953 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2408, allocations: 0 / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2409, allocations: 0 / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.2413, allocations: 219.4 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.2413, allocations: 85.02 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.2413, allocations: 0 / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.2415, allocations: 7.953 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.2415, allocations: 7.984 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.2416, allocations: 4 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.554e-05/0.2416, allocations: 95.2 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.52e-07/0.2416, allocations: 0 / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000403/0.2421, allocations: 39.98 kB / 0.984 GB, free: 22.2 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009791/0.2431, allocations: 0.8129 MB / 0.9848 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003589/0.2434, allocations: 83.94 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2435, allocations: 0 / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.2436, allocations: 35.98 kB / 0.9849 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.244, allocations: 15.94 kB / 0.9849 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.2453, allocations: 0.5988 MB / 0.9855 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.2455, allocations: 0.6862 MB / 0.9862 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.867e-05/0.2455, allocations: 4.172 kB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/0.2456, allocations: 19.44 kB / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of SimCode: time 1.883e-06/0.2456, allocations: 0 / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.2681, allocations: 2.34 MB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003245/0.2685, allocations: 243.8 kB / 0.9887 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.787/3.055, allocations: 2.25 kB / 0.9887 GB, free: 17.42 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)