Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.0009289/0.000929, 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.00766/0.00766, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.286/1.286, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.686/1.686, 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.0004899/0.0004899, allocations: 16.88 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001496/0.2016, allocations: 1.223 MB / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.2028, allocations: 0.749 MB / 0.7899 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.2029, allocations: 0 / 0.7899 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.2029, allocations: 3.938 kB / 0.7899 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.203, allocations: 11.92 kB / 0.7899 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.2034, allocations: 107.8 kB / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.204e-05/0.2035, allocations: 59.84 kB / 0.7901 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.71e-05/0.2036, allocations: 19.97 kB / 0.7901 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.837e-05/0.2037, allocations: 31.8 kB / 0.7901 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.507e-05/0.2038, allocations: 31.91 kB / 0.7902 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2038, allocations: 7.984 kB / 0.7902 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.204, allocations: 87.92 kB / 0.7903 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.204, allocations: 19.91 kB / 0.7903 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.2041, allocations: 49.56 kB / 0.7903 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.2043, allocations: 143.8 kB / 0.7905 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2043, allocations: 0 / 0.7905 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2043, allocations: 0 / 0.7905 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2043, allocations: 0 / 0.7905 GB, free: 8.91 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.0005248/0.2049, allocations: 405 kB / 0.7909 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2049, allocations: 12.03 kB / 0.7909 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.2049, allocations: 34.75 kB / 0.7909 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.205, allocations: 8.844 kB / 0.7909 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2051, allocations: 184.1 kB / 0.7911 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.2051, allocations: 4.375 kB / 0.7911 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.2051, allocations: 4.375 kB / 0.7911 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.2053, allocations: 81.66 kB / 0.7912 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.2053, allocations: 0 / 0.7912 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2054, allocations: 4 kB / 0.7912 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.2054, allocations: 0 / 0.7912 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.2055, allocations: 43.97 kB / 0.7912 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.2061, allocations: 316.8 kB / 0.7915 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.2062, allocations: 54.48 kB / 0.7916 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.2063, allocations: 36.97 kB / 0.7916 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.2063, allocations: 0 / 0.7916 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.2066, allocations: 95.34 kB / 0.7917 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.2066, allocations: 0 / 0.7917 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004402/0.207, allocations: 145.6 kB / 0.7918 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.2071, allocations: 63.34 kB / 0.7919 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.2072, allocations: 122.2 kB / 0.792 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.2072, allocations: 29.7 kB / 0.792 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.2073, allocations: 91.98 kB / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.2073, allocations: 11.91 kB / 0.7921 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.2074, allocations: 21.7 kB / 0.7922 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2075, allocations: 322.8 kB / 0.7925 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.498e-05/0.2076, allocations: 31.98 kB / 0.7925 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-05/0.2077, allocations: 50.61 kB / 0.7925 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.2079, allocations: 86.42 kB / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2079, allocations: 0 / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002556/0.2082, allocations: 125.5 kB / 0.7928 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2082, allocations: 4 kB / 0.7928 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2082, allocations: 0 / 0.7928 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2082, allocations: 0 / 0.7928 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.521e-05/0.2083, allocations: 20.05 kB / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2084, allocations: 0 / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.869e-05/0.2084, allocations: 11.91 kB / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2084, allocations: 4 kB / 0.7928 GB, free: 6.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 0.0001092/0.2086, allocations: 125.3 kB / 0.7929 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.2086, allocations: 7.984 kB / 0.7929 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.2086, allocations: 12.38 kB / 0.7929 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2086, allocations: 4 kB / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2086, allocations: 0 / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2086, allocations: 0 / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.2091, allocations: 390.3 kB / 0.7933 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2091, allocations: 0 / 0.7933 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.2092, allocations: 4 kB / 0.7933 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.2092, allocations: 11.92 kB / 0.7933 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.2092, allocations: 4 kB / 0.7933 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2092, allocations: 7.875 kB / 0.7933 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2092, allocations: 4 kB / 0.7933 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.2096, allocations: 203.4 kB / 0.7935 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.2097, allocations: 89.09 kB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.2097, allocations: 0 / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.2098, allocations: 11.94 kB / 0.7936 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.2099, allocations: 7.984 kB / 0.7936 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.2099, allocations: 0 / 0.7936 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.64e-05/0.21, allocations: 95.27 kB / 0.7937 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.21, allocations: 0 / 0.7937 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003229/0.2103, allocations: 36 kB / 0.7938 GB, free: 5.188 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.0008892/0.2112, allocations: 0.8165 MB / 0.7946 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.2115, allocations: 83.88 kB / 0.7946 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2115, allocations: 0 / 0.7946 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.2116, allocations: 35.98 kB / 0.7947 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.2119, allocations: 18.92 kB / 0.7947 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.2135, allocations: 1.529 MB / 0.7962 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.2138, allocations: 0.6887 MB / 0.7969 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.2138, allocations: 7.984 kB / 0.7969 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.2139, allocations: 15.44 kB / 0.7969 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2139, allocations: 0 / 0.7969 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0118/0.2257, allocations: 2.327 MB / 0.7991 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.2259, allocations: 262.4 kB / 0.7994 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.027, allocations: 4 kB / 0.7994 GB, free: 15.4 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)