Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.836/2.836, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.002078/0.002078, allocations: 192.9 kB / 371 MB, free: 10.87 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.174/2.174, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.0009694/0.0009693, allocations: 89.16 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005353/0.0005356, allocations: 16.78 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2402, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001899/0.2421, allocations: 1.203 MB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.2437, allocations: 0.7074 MB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.131e-05/0.2438, allocations: 4 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.2438, allocations: 3.938 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.2439, allocations: 15.91 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006072/0.2445, allocations: 95.77 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.2447, allocations: 67.78 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.801e-05/0.2448, allocations: 7.984 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.444e-05/0.2449, allocations: 27.91 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.245, allocations: 35.84 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.245, allocations: 4 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.2453, allocations: 87.91 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.2453, allocations: 19.86 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.2454, allocations: 29.7 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.2456, allocations: 104 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2456, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2456, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2456, allocations: 0 / 0.9808 GB, free: 25.84 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.0006576/0.2463, allocations: 412.7 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2463, allocations: 12.02 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.2464, allocations: 38.56 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.2464, allocations: 15.84 kB / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.2466, allocations: 167 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.2466, allocations: 0 / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.2466, allocations: 4 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.2469, allocations: 73.64 kB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2469, allocations: 0 / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2469, allocations: 8 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2469, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.2472, allocations: 43.91 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007308/0.2479, allocations: 324.7 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.2481, allocations: 50.55 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.2482, allocations: 32.97 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.2483, allocations: 0 / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.2485, allocations: 91.31 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.2486, allocations: 0 / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005992/0.2492, allocations: 149.5 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.2492, allocations: 59.41 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.2493, allocations: 121.8 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.2494, allocations: 29.7 kB / 0.9824 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.2494, allocations: 88.27 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.2494, allocations: 19.8 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.2495, allocations: 0 / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.783e-05/0.2495, allocations: 318.8 kB / 0.9828 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.2497, allocations: 31.98 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.2498, allocations: 58.86 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.25, allocations: 31.98 kB / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.25, allocations: 0 / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003463/0.2503, allocations: 125.5 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2504, allocations: 4 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2504, allocations: 4 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2504, allocations: 3.953 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.2506, allocations: 11.98 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2506, allocations: 4 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2507, allocations: 12 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.2507, allocations: 8 kB / 0.9831 GB, free: 23.29 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.798e-05/0.2509, allocations: 118.9 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.2509, allocations: 7.906 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.2509, allocations: 12.36 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2509, allocations: 4 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.251, allocations: 7.938 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.251, allocations: 4 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.2516, allocations: 378.4 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2516, allocations: 0 / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.973e-05/0.2516, allocations: 4 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.2517, allocations: 4 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.2517, allocations: 7.938 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2517, allocations: 8 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2517, allocations: 0 / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.2521, allocations: 215.4 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.2521, allocations: 81.02 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.2522, allocations: 7.984 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.2523, allocations: 11.95 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.2524, allocations: 7.984 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.2524, allocations: 4 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.253e-05/0.2525, allocations: 103.3 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2525, allocations: 0 / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004003/0.2529, allocations: 36 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.0009249/0.2538, allocations: 0.8013 MB / 0.9848 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000349/0.2542, allocations: 83.89 kB / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2542, allocations: 0 / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.2544, allocations: 39.97 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.0003281/0.2547, allocations: 4.281 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.256, allocations: 0.605 MB / 0.9855 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.2562, allocations: 0.6941 MB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.636e-05/0.2563, allocations: 4.188 kB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.852e-05/0.2563, allocations: 23.42 kB / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of SimCode: time 7.073e-06/0.2564, allocations: 0 / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.2788, allocations: 2.335 MB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003074/0.2792, allocations: 251.2 kB / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.791/3.071, allocations: 2.812 kB / 0.9888 GB, free: 17.38 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)