Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001605/0.001605, allocations: 193.1 kB / 16.14 MB, free: 6.703 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.469/1.469, allocations: 205.1 MB / 222 MB, free: 4.758 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.664/1.664, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001253/0.001253, allocations: 66.28 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2239, allocations: 114.6 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002896/0.2268, allocations: 1.558 MB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.2282, allocations: 0.7645 MB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.2283, allocations: 0 / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.432e-05/0.2283, allocations: 7.922 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.242e-05/0.2284, allocations: 7.922 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.2289, allocations: 107.8 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.229, allocations: 67.78 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2291, allocations: 15.98 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.2292, allocations: 31.84 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.461e-05/0.2293, allocations: 39.78 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.2293, allocations: 4 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.2295, allocations: 87.91 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.2296, allocations: 19.97 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.2296, allocations: 31.8 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.2299, allocations: 139.9 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2299, allocations: 3.984 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2299, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.2299, allocations: 0 / 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.0006807/0.2306, allocations: 417 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2307, allocations: 8.031 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.2307, allocations: 8.844 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.2309, allocations: 180.2 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.2309, allocations: 384 / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2309, allocations: 8.375 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.2311, allocations: 69.97 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.2311, allocations: 3.938 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.2311, allocations: 0 / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2312, allocations: 0 / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.2313, allocations: 35.97 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.2319, allocations: 320.8 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.2321, allocations: 42.56 kB / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.704e-05/0.2322, allocations: 40.89 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2322, allocations: 4 kB / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.2324, allocations: 83.28 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.2324, allocations: 0 / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003936/0.2328, allocations: 129.7 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.2329, allocations: 59.41 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.907e-05/0.233, allocations: 125.7 kB / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.233, allocations: 33.64 kB / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.2331, allocations: 88.14 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.2331, allocations: 15.75 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.2331, allocations: 33.64 kB / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2333, allocations: 326.8 kB / 0.7874 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.2333, allocations: 23.98 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.911e-05/0.2334, allocations: 46.56 kB / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.2336, allocations: 78.48 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2336, allocations: 0 / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002419/0.2339, allocations: 113.5 kB / 0.7877 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2339, allocations: 4 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2339, allocations: 4.062 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2339, allocations: 4 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/0.234, allocations: 15.92 kB / 0.7877 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.234, allocations: 400 / 0.7877 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.2341, allocations: 8 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.2341, allocations: 7.984 kB / 0.7877 GB, free: 8.566 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.895e-05/0.2342, allocations: 117.8 kB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.2342, allocations: 11.84 kB / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.2343, allocations: 12.38 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2343, allocations: 4 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2343, allocations: 0 / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2343, allocations: 3.984 kB / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.2347, allocations: 382.4 kB / 0.7882 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2348, allocations: 0 / 0.7882 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.2348, allocations: 7.984 kB / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2348, allocations: 0 / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.2348, allocations: 8 kB / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2348, allocations: 3.938 kB / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2348, allocations: 7.938 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.2351, allocations: 207.4 kB / 0.7885 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.2352, allocations: 88.95 kB / 0.7885 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.2352, allocations: 0 / 0.7885 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/0.2353, allocations: 12 kB / 0.7886 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.2353, allocations: 7.922 kB / 0.7886 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.2354, allocations: 4 kB / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.618e-05/0.2354, allocations: 91.92 kB / 0.7887 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2354, allocations: 0 / 0.7887 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002789/0.2357, allocations: 39.98 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.0003396/0.236, allocations: 161 kB / 0.7888 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.2363, allocations: 71.91 kB / 0.7889 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2363, allocations: 0 / 0.7889 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.2364, allocations: 39.91 kB / 0.7889 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.0002588/0.2367, allocations: 8 kB / 0.789 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.2371, allocations: 198.2 kB / 0.7891 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.2374, allocations: 0.6848 MB / 0.7898 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.076e-05/0.2374, allocations: 7.984 kB / 0.7898 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.2375, allocations: 11.44 kB / 0.7898 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.2375, allocations: 4 kB / 0.7898 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of Templates: time 0.003789/0.2413, allocations: 1.376 MB / 0.7912 GB, free: 4.887 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)