Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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 1.776/1.776, allocations: 287.4 MB / 302.6 MB, free: 8.344 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.001046/0.001046, allocations: 176.3 kB / 371.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007486/0.0007486, allocations: 88.97 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003723, allocations: 19 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2263, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.00137/0.2278, allocations: 1.211 MB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000937/0.2287, allocations: 0.7113 MB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.2288, allocations: 0 / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.2288, allocations: 3.938 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.484e-05/0.2289, allocations: 11.91 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.2293, allocations: 99.77 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.005e-05/0.2293, allocations: 67.78 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.738e-05/0.2294, allocations: 7.984 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.73e-05/0.2295, allocations: 31.91 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.2296, allocations: 27.91 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.2296, allocations: 4 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.2297, allocations: 87.84 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.2298, allocations: 23.91 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.2298, allocations: 33.7 kB / 0.981 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.2299, allocations: 96.05 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2299, allocations: 3.938 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.23, allocations: 0 / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.23, allocations: 0 / 0.9811 GB, free: 25.68 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.0004803/0.2304, allocations: 405 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2305, allocations: 16.03 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.2305, allocations: 34.75 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.2306, allocations: 12.83 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.982e-05/0.2306, allocations: 180.1 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.2307, allocations: 384 / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.2307, allocations: 8.375 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.2308, allocations: 73.77 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2309, allocations: 4 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.2309, allocations: 0 / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2309, allocations: 4 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.231, allocations: 39.97 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.2315, allocations: 324.7 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.2316, allocations: 50.55 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.2317, allocations: 32.97 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.2317, allocations: 8 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.2319, allocations: 79.38 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.2319, allocations: 0 / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003311/0.2322, allocations: 149.8 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.2322, allocations: 59.41 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.038e-05/0.2323, allocations: 117.8 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.2323, allocations: 29.7 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.2324, allocations: 99.98 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.2324, allocations: 11.89 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.2324, allocations: 4 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.361e-05/0.2324, allocations: 322.8 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.129e-05/0.2325, allocations: 31.92 kB / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/0.2326, allocations: 50.55 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.2327, allocations: 86.55 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2328, allocations: 0 / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001931/0.233, allocations: 117.5 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.233, allocations: 11.98 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.233, allocations: 0 / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.233, allocations: 0 / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/0.2331, allocations: 16.06 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2331, allocations: 3.938 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.2332, allocations: 11.89 kB / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.2332, allocations: 8 kB / 0.9834 GB, free: 23.07 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 6.621e-05/0.2333, allocations: 121.8 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.2333, allocations: 7.938 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.2333, allocations: 12.36 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.2333, allocations: 12 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2333, allocations: 0 / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2333, allocations: 3.984 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.2337, allocations: 386.3 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2337, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.2337, allocations: 8 kB / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2337, allocations: 4 kB / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.2338, allocations: 3.984 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2338, allocations: 3.938 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2338, allocations: 0 / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.234, allocations: 215.4 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.2341, allocations: 81.11 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.2341, allocations: 7.984 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.2342, allocations: 11.88 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.2342, allocations: 11.98 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.2342, allocations: 0 / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.034e-05/0.2343, allocations: 95.2 kB / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2343, allocations: 0 / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002489/0.2345, allocations: 36 kB / 0.9844 GB, free: 21.98 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.000586/0.2351, allocations: 0.8069 MB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.2353, allocations: 83.89 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2353, allocations: 0 / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.565e-05/0.2354, allocations: 43.91 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.2357, allocations: 11.94 kB / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/0.2365, allocations: 0.6064 MB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.2366, allocations: 0.6887 MB / 0.9865 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.59e-05/0.2366, allocations: 0 / 0.9865 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.2367, allocations: 24.17 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2367, allocations: 4 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.2503, allocations: 2.312 MB / 0.9888 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001297/0.2504, allocations: 240.2 kB / 0.9891 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/1.849, allocations: 4 kB / 0.9891 GB, free: 17.2 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)