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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00119/0.00119, allocations: 197.2 kB / 16.14 MB, free: 6.652 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.409/1.409, allocations: 205.1 MB / 222 MB, free: 4.723 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.786/1.786, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001362/0.001363, allocations: 69.78 kB / 0.6708 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2177, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002834/0.2206, allocations: 1.558 MB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.2218, allocations: 0.7722 MB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.2219, allocations: 7.938 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.86e-05/0.2219, allocations: 3.984 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.058e-05/0.222, allocations: 7.922 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.2226, allocations: 99.77 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.914e-05/0.2227, allocations: 71.78 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.433e-05/0.2228, allocations: 15.98 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.728e-05/0.2229, allocations: 35.84 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/0.2229, allocations: 35.89 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.223, allocations: 4 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.2232, allocations: 91.84 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.2232, allocations: 15.92 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.807e-05/0.2232, allocations: 31.84 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.2235, allocations: 135.9 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2235, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.91e-07/0.2235, allocations: 4 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2235, allocations: 3.938 kB / 0.7855 GB, free: 11.11 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.0006149/0.2241, allocations: 409 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2242, allocations: 8.031 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.2242, allocations: 12.84 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2243, allocations: 180.2 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.2244, allocations: 4.375 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.2244, allocations: 8.312 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.2246, allocations: 73.97 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2246, allocations: 4 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2246, allocations: 0 / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2246, allocations: 0 / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.2248, allocations: 35.97 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/0.2254, allocations: 316.8 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.2255, allocations: 54.48 kB / 0.7865 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.502e-05/0.2256, allocations: 32.97 kB / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.2257, allocations: 0 / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.2259, allocations: 83.28 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.2259, allocations: 0 / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004989/0.2264, allocations: 133.6 kB / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.2265, allocations: 55.41 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.2266, allocations: 125.7 kB / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.2266, allocations: 29.7 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.2267, allocations: 88.2 kB / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.2267, allocations: 19.75 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.2268, allocations: 33.7 kB / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2269, allocations: 322.8 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.227, allocations: 23.98 kB / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.723e-05/0.2271, allocations: 50.55 kB / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.2273, allocations: 74.44 kB / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2273, allocations: 4 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002464/0.2275, allocations: 109.5 kB / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2276, allocations: 8 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2276, allocations: 0 / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2276, allocations: 0 / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2277, allocations: 11.98 kB / 0.7877 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.2277, allocations: 8.453 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.2278, allocations: 7.984 kB / 0.7877 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.2278, allocations: 8 kB / 0.7877 GB, free: 8.57 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.788e-05/0.2279, allocations: 122.4 kB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.2279, allocations: 7.906 kB / 0.7878 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.228, allocations: 8.375 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.228, allocations: 0 / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.228, allocations: 3.938 kB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.228, allocations: 7.984 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.2284, allocations: 386.3 kB / 0.7882 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.2284, allocations: 4 kB / 0.7882 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.2285, allocations: 7.984 kB / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2285, allocations: 0 / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2285, allocations: 3.984 kB / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2285, allocations: 0 / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2285, allocations: 3.938 kB / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.2288, allocations: 215.4 kB / 0.7885 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.2289, allocations: 81.02 kB / 0.7885 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2289, allocations: 0 / 0.7885 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.229, allocations: 7.984 kB / 0.7885 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.229, allocations: 11.94 kB / 0.7886 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.229, allocations: 3.984 kB / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.2291, allocations: 95.28 kB / 0.7886 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.124e-06/0.2291, allocations: 0 / 0.7886 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002972/0.2294, allocations: 43.92 kB / 0.7887 GB, free: 7.477 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.0003072/0.2297, allocations: 159.2 kB / 0.7888 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.23, allocations: 76 kB / 0.7889 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.23, allocations: 3.938 kB / 0.7889 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.729e-05/0.2301, allocations: 35.98 kB / 0.789 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.2303, allocations: 4 kB / 0.789 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.2307, allocations: 198.2 kB / 0.7891 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.2309, allocations: 0.6848 MB / 0.7898 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.752e-05/0.231, allocations: 3.984 kB / 0.7898 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.231, allocations: 11.44 kB / 0.7898 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of SimCode: time 2.385e-06/0.231, allocations: 0 / 0.7898 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of Templates: time 0.003685/0.2347, allocations: 1.375 MB / 0.7912 GB, free: 4.898 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (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 & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)