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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.3 MB / 308.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 200.2 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.1 MB / 0.6354 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 101.5 kB / 0.748 GB, free: 61.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 63.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3073, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.00531/0.3128, allocations: 1.557 MB / 0.9838 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.3149, allocations: 0.7684 MB / 0.9845 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.315, allocations: 4 kB / 0.9845 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.734e-05/0.315, allocations: 3.938 kB / 0.9845 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.937e-05/0.3152, allocations: 7.875 kB / 0.9845 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006732/0.3158, allocations: 99.77 kB / 0.9846 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.316, allocations: 71.77 kB / 0.9847 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3161, allocations: 12 kB / 0.9847 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.3162, allocations: 35.91 kB / 0.9847 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.3163, allocations: 39.83 kB / 0.9848 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.3164, allocations: 4 kB / 0.9848 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.3166, allocations: 87.84 kB / 0.9849 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.3166, allocations: 15.97 kB / 0.9849 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.3167, allocations: 35.8 kB / 0.9849 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.3169, allocations: 131.9 kB / 0.985 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.317, allocations: 12 kB / 0.985 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.573e-06/0.317, allocations: 0 / 0.985 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.317, allocations: 0 / 0.985 GB, free: 7.477 MB / 0.7136 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.0007838/0.3178, allocations: 409 kB / 0.9854 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.3178, allocations: 15.97 kB / 0.9854 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.3179, allocations: 12.83 kB / 0.9855 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.3181, allocations: 172.2 kB / 0.9856 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.3181, allocations: 384 / 0.9856 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.3181, allocations: 8.375 kB / 0.9856 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.3183, allocations: 77.95 kB / 0.9857 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3184, allocations: 0 / 0.9857 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3184, allocations: 0 / 0.9857 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3184, allocations: 0 / 0.9857 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.3185, allocations: 39.95 kB / 0.9857 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006944/0.3192, allocations: 324.6 kB / 0.9861 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.3194, allocations: 46.55 kB / 0.9861 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.731e-05/0.3195, allocations: 32.97 kB / 0.9861 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.3195, allocations: 4 kB / 0.9861 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002806/0.3198, allocations: 83.31 kB / 0.9862 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3198, allocations: 0 / 0.9862 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004324/0.3203, allocations: 141.6 kB / 0.9863 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.3203, allocations: 55.41 kB / 0.9864 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.3205, allocations: 125.8 kB / 0.9865 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3205, allocations: 25.7 kB / 0.9865 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.3206, allocations: 92.14 kB / 0.9866 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.3206, allocations: 19.73 kB / 0.9867 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.3207, allocations: 25.72 kB / 0.9867 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3208, allocations: 326.8 kB / 0.987 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.843e-05/0.3209, allocations: 23.98 kB / 0.987 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.395e-05/0.321, allocations: 54.48 kB / 0.9871 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.3212, allocations: 70.56 kB / 0.9871 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3212, allocations: 3.938 kB / 0.9871 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000237/0.3214, allocations: 113.5 kB / 0.9872 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3215, allocations: 4 kB / 0.9872 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3215, allocations: 0 / 0.9872 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3215, allocations: 4 kB / 0.9872 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-05/0.3216, allocations: 19.98 kB / 0.9873 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3216, allocations: 0 / 0.9873 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.673e-05/0.3217, allocations: 11.98 kB / 0.9873 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.3217, allocations: 4 kB / 0.9873 GB, free: 4.93 MB / 0.7136 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 9.682e-05/0.3218, allocations: 117.8 kB / 0.9874 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.3218, allocations: 7.906 kB / 0.9874 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.3219, allocations: 8.375 kB / 0.9874 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3219, allocations: 0 / 0.9874 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3219, allocations: 11.98 kB / 0.9874 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.3219, allocations: 0 / 0.9874 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.3224, allocations: 382.4 kB / 0.9878 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3224, allocations: 0 / 0.9878 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.3224, allocations: 8 kB / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3224, allocations: 3.938 kB / 0.9878 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3225, allocations: 0 / 0.9878 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3225, allocations: 0 / 0.9878 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3225, allocations: 3.938 kB / 0.9878 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006993/0.3232, allocations: 0.798 MB / 0.9886 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.3232, allocations: 81.05 kB / 0.9887 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.3233, allocations: 4 kB / 0.9887 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.3234, allocations: 3.984 kB / 0.9887 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.3234, allocations: 12 kB / 0.9887 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.3234, allocations: 7.984 kB / 0.9887 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.416e-05/0.3235, allocations: 87.28 kB / 0.9888 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.863e-06/0.3235, allocations: 0 / 0.9888 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000398/0.3239, allocations: 47.83 kB / 0.9888 GB, free: 3.215 MB / 0.7136 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.0003985/0.3243, allocations: 169.9 kB / 0.989 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.3246, allocations: 71.95 kB / 0.989 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3246, allocations: 3.938 kB / 0.989 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.799e-05/0.3247, allocations: 31.98 kB / 0.9891 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.3249, allocations: 7.938 kB / 0.9891 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.3255, allocations: 321.1 kB / 0.9894 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.3258, allocations: 0.6887 MB / 0.9901 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.613e-05/0.3258, allocations: 4 kB / 0.9901 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.3258, allocations: 11.44 kB / 0.9901 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of SimCode: time 2.144e-06/0.3258, allocations: 4 kB / 0.9901 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of Templates: time 0.004481/0.3303, allocations: 1.395 MB / 0.9914 GB, free: 472 kB / 0.7136 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)