Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.000813/0.0008132, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009786/0.0009784, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.806/1.806, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0007891/0.0007891, allocations: 17.66 kB / 0.6738 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2524, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001958/0.2544, allocations: 1.214 MB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2559, allocations: 0.7114 MB / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.724e-05/0.256, allocations: 4 kB / 0.7893 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.2561, allocations: 3.938 kB / 0.7893 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.2562, allocations: 15.91 kB / 0.7893 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007608/0.257, allocations: 91.77 kB / 0.7894 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.2571, allocations: 67.78 kB / 0.7894 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2573, allocations: 11.98 kB / 0.7895 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.2574, allocations: 27.91 kB / 0.7895 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.913e-05/0.2575, allocations: 31.91 kB / 0.7895 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.2575, allocations: 4 kB / 0.7895 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.2578, allocations: 87.84 kB / 0.7896 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.2579, allocations: 15.92 kB / 0.7896 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.2579, allocations: 33.7 kB / 0.7897 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.2582, allocations: 99.97 kB / 0.7897 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.2582, allocations: 4 kB / 0.7898 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.504e-06/0.2582, allocations: 0 / 0.7898 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.2582, allocations: 0 / 0.7898 GB, free: 9.406 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.0007861/0.259, allocations: 408.8 kB / 0.7901 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.2591, allocations: 8.031 kB / 0.7901 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.587e-05/0.2591, allocations: 38.56 kB / 0.7902 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.2592, allocations: 11.89 kB / 0.7902 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.2594, allocations: 170.9 kB / 0.7904 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.2594, allocations: 4 kB / 0.7904 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.2595, allocations: 8 kB / 0.7904 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.2597, allocations: 69.66 kB / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2597, allocations: 0 / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.2598, allocations: 0 / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2598, allocations: 4 kB / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.2599, allocations: 47.94 kB / 0.7905 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000786/0.2607, allocations: 328.6 kB / 0.7908 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.2609, allocations: 54.55 kB / 0.7909 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/0.261, allocations: 36.97 kB / 0.7909 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.2611, allocations: 4 kB / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.2613, allocations: 75.38 kB / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.2613, allocations: 0 / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004436/0.2618, allocations: 161.5 kB / 0.7911 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.2618, allocations: 55.41 kB / 0.7912 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.262, allocations: 125.7 kB / 0.7913 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.262, allocations: 29.7 kB / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.2621, allocations: 92.27 kB / 0.7914 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.2621, allocations: 19.73 kB / 0.7914 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.2621, allocations: 4 kB / 0.7914 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2622, allocations: 322.8 kB / 0.7917 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.2623, allocations: 23.98 kB / 0.7918 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-05/0.2624, allocations: 50.55 kB / 0.7918 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.2625, allocations: 48.22 kB / 0.7919 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2625, allocations: 0 / 0.7919 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002388/0.2628, allocations: 113.5 kB / 0.792 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2628, allocations: 4 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.2628, allocations: 4 kB / 0.792 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2629, allocations: 0 / 0.792 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.263, allocations: 16.05 kB / 0.792 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.263, allocations: 7.953 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/0.2631, allocations: 8 kB / 0.792 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.2631, allocations: 4 kB / 0.792 GB, free: 6.852 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,$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 0.0001162/0.2632, allocations: 117.8 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.2632, allocations: 7.906 kB / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.2633, allocations: 12.36 kB / 0.7921 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2633, allocations: 4 kB / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2633, allocations: 0 / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2633, allocations: 7.953 kB / 0.7921 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.2638, allocations: 378.5 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2638, allocations: 0 / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.2639, allocations: 8 kB / 0.7925 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.2639, allocations: 4 kB / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.2639, allocations: 11.92 kB / 0.7925 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2639, allocations: 7.891 kB / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2639, allocations: 0 / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.2642, allocations: 211.4 kB / 0.7927 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.2643, allocations: 85.02 kB / 0.7928 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.2643, allocations: 3.984 kB / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-05/0.2644, allocations: 12 kB / 0.7928 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.2645, allocations: 7.938 kB / 0.7928 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.2645, allocations: 4 kB / 0.7928 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.91e-05/0.2646, allocations: 91.27 kB / 0.7929 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2646, allocations: 0 / 0.7929 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003413/0.2649, allocations: 36 kB / 0.793 GB, free: 5.762 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 (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.000938/0.2659, allocations: 0.8187 MB / 0.7938 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.2661, allocations: 84.19 kB / 0.7938 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2661, allocations: 0 / 0.7938 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.952e-05/0.2662, allocations: 39.97 kB / 0.7939 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.2665, allocations: 10.33 kB / 0.7939 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.2678, allocations: 0.5974 MB / 0.7945 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.2681, allocations: 0.6887 MB / 0.7952 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.779e-05/0.2681, allocations: 4.188 kB / 0.7952 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.2682, allocations: 27.42 kB / 0.7952 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2682, allocations: 0 / 0.7952 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.2839, allocations: 2.315 MB / 0.7974 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.2841, allocations: 243.7 kB / 0.7977 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.092, allocations: 0 / 0.7977 GB, free: 1.012 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) Environment - environmentSimulation: