Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, 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.001201/0.001201, allocations: 189 kB / 16.13 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.442/1.442, allocations: 205.1 MB / 222 MB, free: 4.73 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.751/1.751, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001838/0.001838, allocations: 70.92 kB / 0.6708 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2704, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002652/0.2731, allocations: 1.554 MB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.2744, allocations: 0.7644 MB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.2745, allocations: 4 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.2745, allocations: 3.938 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.203e-05/0.2746, allocations: 15.91 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.2751, allocations: 95.78 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.412e-05/0.2752, allocations: 63.78 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.592e-05/0.2753, allocations: 19.92 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.865e-05/0.2753, allocations: 23.92 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.556e-05/0.2754, allocations: 31.89 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.2754, allocations: 4 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.2756, allocations: 95.84 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.2756, allocations: 11.92 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.2757, allocations: 31.86 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.2759, allocations: 127.9 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.2759, allocations: 0 / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2759, allocations: 0 / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2759, allocations: 0 / 0.7854 GB, free: 11.15 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.0005669/0.2765, allocations: 450.7 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2765, allocations: 11.97 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.2766, allocations: 8.844 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.2767, allocations: 176.2 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.2767, allocations: 4.375 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.2767, allocations: 8.312 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.2769, allocations: 73.95 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2769, allocations: 0 / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.277, allocations: 0 / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.277, allocations: 8 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.2771, allocations: 39.95 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.2776, allocations: 288.8 kB / 0.7865 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.2777, allocations: 54.48 kB / 0.7865 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.401e-05/0.2778, allocations: 36.97 kB / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.2778, allocations: 0 / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.2781, allocations: 79.28 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.2781, allocations: 0 / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000413/0.2785, allocations: 137.6 kB / 0.7868 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.2785, allocations: 59.41 kB / 0.7868 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.56e-05/0.2786, allocations: 129.7 kB / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.2787, allocations: 25.7 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.2787, allocations: 96.08 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.2787, allocations: 11.8 kB / 0.7871 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.2788, allocations: 25.72 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.2789, allocations: 326.8 kB / 0.7874 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/0.279, allocations: 19.98 kB / 0.7874 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.775e-05/0.279, allocations: 65.08 kB / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.2792, allocations: 93.06 kB / 0.7876 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2792, allocations: 3.938 kB / 0.7876 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002228/0.2794, allocations: 113.4 kB / 0.7877 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2795, allocations: 4 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2795, allocations: 4 kB / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2795, allocations: 4.156 kB / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.2796, allocations: 19.98 kB / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2796, allocations: 0 / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.2797, allocations: 4 kB / 0.7877 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.2797, allocations: 12.03 kB / 0.7877 GB, free: 8.531 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.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.845e-05/0.2798, allocations: 134.3 kB / 0.7879 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.2798, allocations: 3.906 kB / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.2799, allocations: 12.38 kB / 0.7879 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2799, allocations: 4 kB / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2799, allocations: 0 / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2799, allocations: 0 / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.2804, allocations: 378.4 kB / 0.7882 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2804, allocations: 0 / 0.7882 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.2804, allocations: 11.92 kB / 0.7882 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2804, allocations: 0 / 0.7882 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2804, allocations: 0 / 0.7882 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2804, allocations: 8.391 kB / 0.7883 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2805, allocations: 3.938 kB / 0.7883 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.2807, allocations: 207.4 kB / 0.7885 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.2808, allocations: 85.02 kB / 0.7885 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.2808, allocations: 4 kB / 0.7885 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-05/0.2809, allocations: 3.984 kB / 0.7885 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.281, allocations: 7.938 kB / 0.7886 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.281, allocations: 11.98 kB / 0.7886 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.477e-05/0.281, allocations: 87.28 kB / 0.7886 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.281, allocations: 0 / 0.7886 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00032/0.2814, allocations: 43.92 kB / 0.7887 GB, free: 7.445 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.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.0003204/0.2817, allocations: 159 kB / 0.7888 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.2819, allocations: 71.89 kB / 0.7889 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2819, allocations: 0 / 0.7889 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.282, allocations: 39.91 kB / 0.7889 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.2824, allocations: 8 kB / 0.789 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.2828, allocations: 206.9 kB / 0.7892 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.283, allocations: 0.6848 MB / 0.7898 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.496e-05/0.2831, allocations: 8.078 kB / 0.7898 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.2831, allocations: 11.44 kB / 0.7898 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.2831, allocations: 4 kB / 0.7898 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of Templates: time 0.003767/0.2869, allocations: 1.358 MB / 0.7912 GB, free: 4.867 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)