Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 292.3 MB / 308.1 MB, free: 4.293 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.001458/0.001458, allocations: 190.2 kB / 376.9 MB, free: 1.828 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.749/1.749, allocations: 205.1 MB / 0.6354 GB, free: 9.82 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.0009939/0.0009939, allocations: 97.55 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3138, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003985/0.3179, allocations: 1.557 MB / 0.9837 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.3196, allocations: 0.7645 MB / 0.9845 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.3197, allocations: 3.938 kB / 0.9845 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.794e-05/0.3198, allocations: 3.984 kB / 0.9845 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.104e-05/0.32, allocations: 11.92 kB / 0.9845 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.3206, allocations: 99.77 kB / 0.9846 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.3208, allocations: 71.72 kB / 0.9847 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.3209, allocations: 15.98 kB / 0.9847 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.321, allocations: 31.91 kB / 0.9847 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.325e-05/0.3211, allocations: 39.83 kB / 0.9848 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.3212, allocations: 4 kB / 0.9848 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.3215, allocations: 91.84 kB / 0.9848 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.455e-05/0.3215, allocations: 15.97 kB / 0.9849 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.546e-05/0.3216, allocations: 35.8 kB / 0.9849 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.3219, allocations: 135.9 kB / 0.985 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.3219, allocations: 0 / 0.985 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.923e-06/0.322, allocations: 0 / 0.985 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.322, allocations: 0 / 0.985 GB, free: 7.492 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.0008746/0.3228, allocations: 413 kB / 0.9854 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.3229, allocations: 12.03 kB / 0.9854 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.323, allocations: 12.84 kB / 0.9854 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.3232, allocations: 176.2 kB / 0.9856 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.3232, allocations: 384 / 0.9856 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.3232, allocations: 8.375 kB / 0.9856 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.3235, allocations: 73.91 kB / 0.9857 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3235, allocations: 0 / 0.9857 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3235, allocations: 4 kB / 0.9857 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.3235, allocations: 0 / 0.9857 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.3237, allocations: 39.97 kB / 0.9857 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.3244, allocations: 320.7 kB / 0.986 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.3246, allocations: 50.48 kB / 0.9861 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.3247, allocations: 36.97 kB / 0.9861 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.3247, allocations: 0 / 0.9861 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003098/0.3251, allocations: 79.38 kB / 0.9862 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.3251, allocations: 0 / 0.9862 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004431/0.3255, allocations: 137.8 kB / 0.9863 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.3256, allocations: 59.41 kB / 0.9864 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3257, allocations: 133.7 kB / 0.9865 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3257, allocations: 25.7 kB / 0.9865 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.3258, allocations: 92.14 kB / 0.9866 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.3258, allocations: 11.75 kB / 0.9866 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/0.3259, allocations: 29.7 kB / 0.9867 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3261, allocations: 330.7 kB / 0.987 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.024e-05/0.3262, allocations: 23.98 kB / 0.987 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.992e-05/0.3263, allocations: 54.53 kB / 0.9871 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3264, allocations: 78.56 kB / 0.9871 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3264, allocations: 0 / 0.9871 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00025/0.3267, allocations: 109.6 kB / 0.9872 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3267, allocations: 8 kB / 0.9872 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3267, allocations: 0 / 0.9872 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3268, allocations: 4 kB / 0.9872 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.416e-05/0.3269, allocations: 11.98 kB / 0.9873 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3269, allocations: 0 / 0.9873 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.327, allocations: 8 kB / 0.9873 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.327, allocations: 7.984 kB / 0.9873 GB, free: 4.941 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 0.0001021/0.3271, allocations: 125.7 kB / 0.9874 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.3271, allocations: 7.906 kB / 0.9874 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.3272, allocations: 8.375 kB / 0.9874 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3272, allocations: 4 kB / 0.9874 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3272, allocations: 0 / 0.9874 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3272, allocations: 0 / 0.9874 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.3276, allocations: 378.4 kB / 0.9878 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3277, allocations: 0 / 0.9878 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.3277, allocations: 15.92 kB / 0.9878 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3277, allocations: 7.938 kB / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3277, allocations: 0 / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3277, allocations: 0 / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/0.3278, allocations: 7.938 kB / 0.9878 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007661/0.3285, allocations: 0.7902 MB / 0.9886 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/0.3286, allocations: 85.05 kB / 0.9887 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.3287, allocations: 4 kB / 0.9887 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.683e-05/0.3287, allocations: 7.984 kB / 0.9887 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.3288, allocations: 4 kB / 0.9887 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.3288, allocations: 8 kB / 0.9887 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.509e-05/0.3289, allocations: 91.27 kB / 0.9888 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.3289, allocations: 0 / 0.9888 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004554/0.3294, allocations: 43.89 kB / 0.9888 GB, free: 3.223 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.000429/0.3298, allocations: 157.3 kB / 0.989 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.3301, allocations: 80.11 kB / 0.989 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3301, allocations: 0 / 0.989 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.3302, allocations: 31.98 kB / 0.9891 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.3305, allocations: 22.58 kB / 0.9891 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.331, allocations: 313 kB / 0.9894 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3313, allocations: 0.6888 MB / 0.9901 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.683e-05/0.3314, allocations: 11.97 kB / 0.9901 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.3314, allocations: 11.44 kB / 0.9901 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.3314, allocations: 0 / 0.9901 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of Templates: time 0.004239/0.3357, allocations: 1.398 MB / 0.9914 GB, free: 476 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)