Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 106.8 kB / 15.99 MB, free: 5.895 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.001513/0.001513, allocations: 193.4 kB / 16.91 MB, free: 5.746 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.325/1.325, allocations: 205.1 MB / 222.8 MB, free: 4.676 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.779/1.779, allocations: 292.3 MB / 0.5492 GB, free: 13.65 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.00142/0.00142, allocations: 65.97 kB / 0.6717 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2205, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002604/0.2232, allocations: 1.558 MB / 0.785 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2244, allocations: 0.7682 MB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.2245, allocations: 4 kB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.694e-05/0.2245, allocations: 4 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.361e-05/0.2246, allocations: 7.875 kB / 0.7858 GB, free: 11.54 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.0005417/0.2252, allocations: 112.7 kB / 0.7859 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2253, allocations: 63.84 kB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.2254, allocations: 15.98 kB / 0.786 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.559e-05/0.2255, allocations: 39.84 kB / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.2256, allocations: 35.89 kB / 0.7861 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.2256, allocations: 8 kB / 0.7861 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.2258, allocations: 91.86 kB / 0.7861 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.2258, allocations: 23.91 kB / 0.7862 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.2259, allocations: 31.86 kB / 0.7862 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.2261, allocations: 104 kB / 0.7863 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2261, allocations: 0 / 0.7863 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2261, allocations: 0 / 0.7863 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.2261, allocations: 0 / 0.7863 GB, free: 11.02 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.0006321/0.2267, allocations: 424.9 kB / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2268, allocations: 8.031 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.2268, allocations: 8.844 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.227, allocations: 176.2 kB / 0.7869 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.227, allocations: 4.375 kB / 0.7869 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.227, allocations: 8.312 kB / 0.7869 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.2272, allocations: 69.97 kB / 0.787 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2272, allocations: 0 / 0.787 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2272, allocations: 4 kB / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2273, allocations: 4 kB / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.2274, allocations: 35.97 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/0.228, allocations: 312.8 kB / 0.7873 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.2281, allocations: 58.48 kB / 0.7874 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-05/0.2282, allocations: 28.97 kB / 0.7874 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.2282, allocations: 4 kB / 0.7874 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.2285, allocations: 83.28 kB / 0.7875 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.2285, allocations: 0 / 0.7875 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003853/0.2289, allocations: 137.6 kB / 0.7876 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.2289, allocations: 55.47 kB / 0.7877 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.229, allocations: 133.7 kB / 0.7878 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2291, allocations: 25.7 kB / 0.7878 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.2291, allocations: 88.14 kB / 0.7879 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.2292, allocations: 19.75 kB / 0.7879 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.2292, allocations: 33.64 kB / 0.7879 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2293, allocations: 330.7 kB / 0.7883 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.2294, allocations: 23.98 kB / 0.7883 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.95e-05/0.2295, allocations: 46.55 kB / 0.7883 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.2297, allocations: 70.5 kB / 0.7884 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2297, allocations: 4 kB / 0.7884 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002233/0.2299, allocations: 113.5 kB / 0.7885 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2299, allocations: 4 kB / 0.7885 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2299, allocations: 4 kB / 0.7885 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.23, allocations: 3.984 kB / 0.7885 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.2301, allocations: 11.98 kB / 0.7885 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2301, allocations: 0 / 0.7885 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.442e-05/0.2301, allocations: 4 kB / 0.7885 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.2302, allocations: 16.05 kB / 0.7885 GB, free: 8.465 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 8.5e-05/0.2303, allocations: 122.4 kB / 0.7887 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.2303, allocations: 7.906 kB / 0.7887 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.2303, allocations: 12.38 kB / 0.7887 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2303, allocations: 0 / 0.7887 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2303, allocations: 0 / 0.7887 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2303, allocations: 0 / 0.7887 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.2308, allocations: 386.3 kB / 0.7891 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2308, allocations: 0 / 0.7891 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.2308, allocations: 7.984 kB / 0.7891 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2308, allocations: 0 / 0.7891 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.2308, allocations: 4 kB / 0.7891 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2308, allocations: 480 / 0.7891 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2308, allocations: 3.938 kB / 0.7891 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.2311, allocations: 219.4 kB / 0.7893 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.2312, allocations: 88.95 kB / 0.7894 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.2312, allocations: 0 / 0.7894 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.2313, allocations: 7.984 kB / 0.7894 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.2313, allocations: 11.94 kB / 0.7894 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.2314, allocations: 0 / 0.7894 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.556e-05/0.2314, allocations: 91.27 kB / 0.7895 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2314, allocations: 3.938 kB / 0.7895 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002966/0.2317, allocations: 39.98 kB / 0.7895 GB, free: 7.379 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.0003448/0.2321, allocations: 166.2 kB / 0.7897 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.2323, allocations: 71.89 kB / 0.7897 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2323, allocations: 0 / 0.7897 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.2324, allocations: 40.11 kB / 0.7898 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.2327, allocations: 7.375 kB / 0.7898 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.2331, allocations: 229.9 kB / 0.79 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.2334, allocations: 0.6885 MB / 0.7907 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.2334, allocations: 15.42 kB / 0.7907 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2334, allocations: 0 / 0.7907 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of Templates: time 0.00333/0.2367, allocations: 1.613 MB / 0.7923 GB, free: 4.516 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)