Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.453/2.453, allocations: 287.9 MB / 302.9 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 180.1 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.4 MB / 0.6301 GB, free: 10.3 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 96.36 kB / 0.7434 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004818, allocations: 12.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.192, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002492/0.1946, allocations: 1.191 MB / 0.9799 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002037/0.1967, allocations: 0.7192 MB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.121e-05/0.1968, allocations: 0 / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.1968, allocations: 7.938 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.1969, allocations: 7.984 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.1977, allocations: 95.69 kB / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1978, allocations: 43.94 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.198, allocations: 11.98 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.1981, allocations: 31.91 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1982, allocations: 31.84 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.1983, allocations: 4 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.1986, allocations: 79.8 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.1986, allocations: 11.92 kB / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.1987, allocations: 29.7 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.199, allocations: 104 kB / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.262e-06/0.199, allocations: 4 kB / 0.9811 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.794e-06/0.1991, allocations: 0 / 0.9811 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.1991, allocations: 0 / 0.9811 GB, free: 25.78 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.0008178/0.1999, allocations: 404.8 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.2, allocations: 16.02 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.2001, allocations: 11.8 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.2003, allocations: 171 kB / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.2003, allocations: 12 kB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.2004, allocations: 7.984 kB / 0.9817 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.2007, allocations: 65.66 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.2008, allocations: 0 / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.2008, allocations: 0 / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.092e-06/0.2008, allocations: 4 kB / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.2012, allocations: 51.95 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.2022, allocations: 320.6 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.2025, allocations: 58.56 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.2025, allocations: 0 / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003361/0.2029, allocations: 79.48 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.685e-06/0.2029, allocations: 0 / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0008339/0.2038, allocations: 153.5 kB / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.2038, allocations: 55.47 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.204, allocations: 121.8 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.204, allocations: 25.7 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.2041, allocations: 100.3 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.2042, allocations: 11.75 kB / 0.9827 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/0.2042, allocations: 8 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.2043, allocations: 322.8 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.2045, allocations: 23.98 kB / 0.983 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.2048, allocations: 46.56 kB / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.205, allocations: 43.92 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.362e-06/0.205, allocations: 0 / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005764/0.2056, allocations: 113.5 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.2057, allocations: 8 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.724e-06/0.2057, allocations: 3.938 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2057, allocations: 0 / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.206, allocations: 20.05 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.206, allocations: 3.953 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.2062, allocations: 8 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.2062, allocations: 7.938 kB / 0.9832 GB, free: 23.32 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 0.0001305/0.2064, allocations: 121.8 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.2064, allocations: 7.906 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.2065, allocations: 12.38 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.622e-06/0.2065, allocations: 4 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.571e-06/0.2065, allocations: 0 / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.101e-06/0.2066, allocations: 3.953 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008929/0.2075, allocations: 382.5 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.2075, allocations: 0 / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-05/0.2076, allocations: 11.98 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.483e-06/0.2077, allocations: 7.938 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.2077, allocations: 0 / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.78e-06/0.2077, allocations: 3.953 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2077, allocations: 0 / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005876/0.2083, allocations: 211.4 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.2084, allocations: 89.02 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.2085, allocations: 8 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.2087, allocations: 4 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.2088, allocations: 15.92 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.2089, allocations: 0 / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.684e-05/0.2089, allocations: 91.92 kB / 0.9842 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-06/0.209, allocations: 0 / 0.9842 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008262/0.2098, allocations: 39.98 kB / 0.9842 GB, free: 22.23 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.0005702/0.2104, allocations: 178.2 kB / 0.9844 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005045/0.2109, allocations: 67.95 kB / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.194e-06/0.211, allocations: 4.125 kB / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.2112, allocations: 43.91 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.2117, allocations: 11.94 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007619/0.2125, allocations: 201.1 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.2127, allocations: 0.6887 MB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.944e-05/0.2129, allocations: 8.172 kB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.2129, allocations: 11.44 kB / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of SimCode: time 1.797e-06/0.213, allocations: 0 / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.005679/0.2187, allocations: 1.336 MB / 0.9867 GB, free: 19.66 MB / 0.6198 GB