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.0007954/0.0007955, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007103/0.007104, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.415/1.415, allocations: 205.4 MB / 222.5 MB, free: 5.801 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.701/1.701, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005338/0.0005339, allocations: 18.09 kB / 0.6744 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2387, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001815/0.2405, allocations: 1.219 MB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2419, allocations: 0.7568 MB / 0.7899 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.242, allocations: 0 / 0.7899 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.242, allocations: 3.938 kB / 0.7899 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.665e-05/0.2421, allocations: 7.922 kB / 0.7899 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.2426, allocations: 99.77 kB / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.2427, allocations: 71.83 kB / 0.7901 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.2429, allocations: 15.98 kB / 0.7901 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.725e-05/0.243, allocations: 31.86 kB / 0.7902 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.243, allocations: 31.89 kB / 0.7902 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2431, allocations: 3.938 kB / 0.7902 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.2433, allocations: 91.91 kB / 0.7903 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.2433, allocations: 15.92 kB / 0.7903 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.2434, allocations: 57.5 kB / 0.7903 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.2436, allocations: 135.9 kB / 0.7905 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2437, allocations: 0 / 0.7905 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.542e-06/0.2437, allocations: 3.938 kB / 0.7905 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2437, allocations: 4 kB / 0.7905 GB, free: 8.898 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.0006247/0.2443, allocations: 405 kB / 0.7909 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.2444, allocations: 12.03 kB / 0.7909 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.931e-05/0.2444, allocations: 34.75 kB / 0.7909 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.2445, allocations: 8.844 kB / 0.7909 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2446, allocations: 180.2 kB / 0.7911 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.2446, allocations: 384 / 0.7911 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.2447, allocations: 8.375 kB / 0.7911 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.2448, allocations: 77.78 kB / 0.7912 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2449, allocations: 0 / 0.7912 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.2449, allocations: 0 / 0.7912 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2449, allocations: 0 / 0.7912 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.245, allocations: 47.91 kB / 0.7912 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/0.2457, allocations: 316.8 kB / 0.7915 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.2458, allocations: 50.55 kB / 0.7916 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.2459, allocations: 44.97 kB / 0.7916 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.2459, allocations: 80 / 0.7916 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.2461, allocations: 83.3 kB / 0.7917 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2461, allocations: 0 / 0.7917 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000408/0.2465, allocations: 149.5 kB / 0.7918 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.2466, allocations: 51.41 kB / 0.7919 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.2467, allocations: 125.8 kB / 0.792 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.2467, allocations: 25.7 kB / 0.792 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.2468, allocations: 99.98 kB / 0.7921 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.2468, allocations: 11.81 kB / 0.7921 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.2468, allocations: 25.7 kB / 0.7922 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2469, allocations: 322.8 kB / 0.7925 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.324e-05/0.247, allocations: 35.92 kB / 0.7925 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.071e-05/0.2471, allocations: 50.55 kB / 0.7926 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.2473, allocations: 82.48 kB / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2473, allocations: 0 / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002567/0.2476, allocations: 117.6 kB / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2476, allocations: 8 kB / 0.7927 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2476, allocations: 0 / 0.7927 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2476, allocations: 0 / 0.7927 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-05/0.2477, allocations: 19.92 kB / 0.7928 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2477, allocations: 400 / 0.7928 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.696e-05/0.2478, allocations: 7.906 kB / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2478, allocations: 7.938 kB / 0.7928 GB, free: 6.281 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.0001056/0.2479, allocations: 125.8 kB / 0.7929 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.248, allocations: 11.89 kB / 0.7929 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.248, allocations: 4.375 kB / 0.7929 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.248, allocations: 4 kB / 0.7929 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.248, allocations: 0 / 0.7929 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.248, allocations: 0 / 0.7929 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.2485, allocations: 398.3 kB / 0.7933 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2485, allocations: 4 kB / 0.7933 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.2486, allocations: 4 kB / 0.7933 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.2486, allocations: 3.984 kB / 0.7933 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2486, allocations: 0 / 0.7933 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.2486, allocations: 7.938 kB / 0.7933 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2486, allocations: 3.984 kB / 0.7933 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.2489, allocations: 219.4 kB / 0.7935 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.249, allocations: 89 kB / 0.7936 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.249, allocations: 0 / 0.7936 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/0.2491, allocations: 7.938 kB / 0.7936 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.2491, allocations: 7.984 kB / 0.7936 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2491, allocations: 0 / 0.7936 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.2492, allocations: 103.3 kB / 0.7937 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2492, allocations: 0 / 0.7937 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002931/0.2495, allocations: 32 kB / 0.7938 GB, free: 5.176 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.0007922/0.2503, allocations: 0.8125 MB / 0.7946 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.2506, allocations: 75.89 kB / 0.7946 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2506, allocations: 128 / 0.7946 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.2507, allocations: 43.98 kB / 0.7947 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.2509, allocations: 3.938 kB / 0.7947 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.2526, allocations: 1.522 MB / 0.7962 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.2529, allocations: 0.6926 MB / 0.7968 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.093e-05/0.2529, allocations: 7.984 kB / 0.7968 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.253, allocations: 19.44 kB / 0.7969 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.253, allocations: 0 / 0.7969 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/0.2662, allocations: 2.325 MB / 0.7991 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002875/0.2665, allocations: 259.8 kB / 0.7994 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/1.998, allocations: 3.938 kB / 0.7994 GB, free: 15.44 MB / 0.6231 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)