Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.001136/0.001136, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001262/0.001262, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.371/1.371, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.62/1.62, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.002393/0.002393, allocations: 69.41 kB / 0.6711 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2038, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.00272/0.2066, allocations: 1.566 MB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.2078, allocations: 0.7605 MB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.2079, allocations: 4 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.208, allocations: 0 / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.208, allocations: 15.84 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.2086, allocations: 103.8 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.2087, allocations: 71.77 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.2088, allocations: 19.98 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.412e-05/0.2089, allocations: 31.86 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.023e-05/0.209, allocations: 35.89 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.209, allocations: 11.94 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.2092, allocations: 95.84 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.2092, allocations: 19.92 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.2093, allocations: 35.84 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.2095, allocations: 143.9 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2095, allocations: 0 / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2095, allocations: 0 / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.2095, allocations: 7.984 kB / 0.7858 GB, free: 10.87 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.0006091/0.2101, allocations: 409 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2102, allocations: 8.031 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.2102, allocations: 30.75 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.2103, allocations: 16.83 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.2104, allocations: 180.1 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.2104, allocations: 4.375 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.2104, allocations: 4.375 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.2106, allocations: 73.78 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.2106, allocations: 3.984 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.2107, allocations: 4 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2107, allocations: 0 / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.2108, allocations: 35.97 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005776/0.2114, allocations: 324.6 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.2115, allocations: 50.55 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.901e-05/0.2116, allocations: 32.97 kB / 0.7869 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.2116, allocations: 0 / 0.7869 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.2118, allocations: 75.38 kB / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.2118, allocations: 4 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000376/0.2122, allocations: 133.6 kB / 0.7871 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.2122, allocations: 55.41 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.535e-05/0.2123, allocations: 125.7 kB / 0.7873 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2124, allocations: 33.7 kB / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.2124, allocations: 88.08 kB / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.2124, allocations: 23.86 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.2125, allocations: 29.72 kB / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2126, allocations: 322.8 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.797e-05/0.2127, allocations: 23.98 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.288e-05/0.2128, allocations: 54.48 kB / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.213, allocations: 70.5 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.213, allocations: 0 / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000228/0.2132, allocations: 113.8 kB / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2132, allocations: 8 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2132, allocations: 80 / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.2133, allocations: 0 / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/0.2134, allocations: 15.92 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2134, allocations: 15.98 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.2135, allocations: 7.984 kB / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2135, allocations: 4 kB / 0.7881 GB, free: 8.277 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 9.163e-05/0.2136, allocations: 121.8 kB / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.2136, allocations: 3.906 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.2136, allocations: 12.38 kB / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2136, allocations: 0 / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2136, allocations: 3.984 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2136, allocations: 4 kB / 0.7882 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.2141, allocations: 386.3 kB / 0.7886 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2141, allocations: 4 kB / 0.7886 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.2142, allocations: 0 / 0.7886 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2142, allocations: 4 kB / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2142, allocations: 0 / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.2142, allocations: 3.938 kB / 0.7886 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2142, allocations: 0 / 0.7886 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.2145, allocations: 215.4 kB / 0.7888 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.2145, allocations: 84.95 kB / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.2145, allocations: 0 / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/0.2146, allocations: 11.92 kB / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.2147, allocations: 8 kB / 0.7889 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.2147, allocations: 3.984 kB / 0.7889 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.672e-05/0.2148, allocations: 91.28 kB / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.443e-06/0.2148, allocations: 4 kB / 0.789 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002916/0.2151, allocations: 43.92 kB / 0.789 GB, free: 7.191 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.000733/0.2158, allocations: 0.8052 MB / 0.7898 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.2161, allocations: 67.91 kB / 0.7899 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2161, allocations: 0 / 0.7899 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.516e-05/0.2162, allocations: 39.91 kB / 0.7899 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.2164, allocations: 16.42 kB / 0.79 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.218, allocations: 1.509 MB / 0.7914 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.2182, allocations: 0.6885 MB / 0.7921 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.617e-05/0.2183, allocations: 3.984 kB / 0.7921 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.2183, allocations: 19.44 kB / 0.7921 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2183, allocations: 0 / 0.7921 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.2311, allocations: 2.467 MB / 0.7945 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.2314, allocations: 264.6 kB / 0.7948 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.877, allocations: 0.5 kB / 0.7948 GB, free: 1.332 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)