Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, 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.001845/0.001844, allocations: 194.6 kB / 16.14 MB, free: 6.699 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.52/1.52, allocations: 205.1 MB / 222 MB, free: 4.766 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.734/1.734, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001652/0.001651, allocations: 63.17 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2799, allocations: 114.6 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003272/0.2832, allocations: 1.546 MB / 0.7842 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.2847, allocations: 0.7722 MB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.2848, allocations: 0 / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.603e-05/0.2849, allocations: 3.938 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.96e-05/0.285, allocations: 11.91 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.2856, allocations: 87.8 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2857, allocations: 79.7 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.2859, allocations: 11.98 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.286, allocations: 27.92 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.415e-05/0.2861, allocations: 27.91 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.2861, allocations: 4 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.2863, allocations: 91.84 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.051e-05/0.2864, allocations: 19.91 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.528e-05/0.2864, allocations: 27.86 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.2867, allocations: 131.9 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2867, allocations: 0 / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2867, allocations: 0 / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2867, allocations: 4 kB / 0.7854 GB, free: 11.18 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.0006736/0.2874, allocations: 438.7 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2874, allocations: 15.97 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.2875, allocations: 8.844 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.2876, allocations: 180.2 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.2877, allocations: 4.312 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.2877, allocations: 8.359 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.2879, allocations: 77.97 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.2879, allocations: 0 / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2879, allocations: 0 / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.288, allocations: 3.984 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.2881, allocations: 35.97 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.2886, allocations: 296.8 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.2887, allocations: 58.48 kB / 0.7865 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.428e-05/0.2888, allocations: 32.97 kB / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.2889, allocations: 0 / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.2891, allocations: 79.28 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.2891, allocations: 0 / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004379/0.2896, allocations: 141.6 kB / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.2896, allocations: 55.34 kB / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.2897, allocations: 129.7 kB / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.2897, allocations: 25.7 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.2898, allocations: 96.14 kB / 0.7871 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.2898, allocations: 19.8 kB / 0.7871 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.2899, allocations: 25.72 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.29, allocations: 326.8 kB / 0.7874 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.218e-05/0.2901, allocations: 19.98 kB / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.096e-05/0.2902, allocations: 69.06 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.2904, allocations: 89.02 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.2904, allocations: 4 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002289/0.2906, allocations: 109.6 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2906, allocations: 12 kB / 0.7877 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2906, allocations: 0 / 0.7877 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2907, allocations: 4 kB / 0.7877 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.997e-05/0.2908, allocations: 11.98 kB / 0.7877 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.2908, allocations: 4 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.2908, allocations: 7.984 kB / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2909, allocations: 4 kB / 0.7877 GB, free: 8.562 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 0.0001104/0.291, allocations: 134.3 kB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.291, allocations: 7.906 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.291, allocations: 4.375 kB / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.291, allocations: 0 / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.2911, allocations: 4 kB / 0.7879 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2911, allocations: 3.984 kB / 0.7879 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.2915, allocations: 378.4 kB / 0.7882 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2915, allocations: 4 kB / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.2916, allocations: 4 kB / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2916, allocations: 4 kB / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2916, allocations: 0 / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2916, allocations: 0 / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2916, allocations: 3.938 kB / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.2919, allocations: 203.4 kB / 0.7884 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.2919, allocations: 85.02 kB / 0.7885 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.292, allocations: 0 / 0.7885 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.2921, allocations: 15.98 kB / 0.7885 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.2921, allocations: 7.938 kB / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.2921, allocations: 7.984 kB / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.884e-05/0.2922, allocations: 91.27 kB / 0.7886 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.432e-06/0.2922, allocations: 3.938 kB / 0.7886 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003175/0.2925, allocations: 39.94 kB / 0.7887 GB, free: 7.48 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.0003531/0.2929, allocations: 163.8 kB / 0.7888 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.2931, allocations: 71.89 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.2931, allocations: 0 / 0.7889 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.2932, allocations: 31.98 kB / 0.7889 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.2935, allocations: 12.3 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.0004507/0.294, allocations: 203.2 kB / 0.7891 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.2943, allocations: 0.6887 MB / 0.7898 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.218e-05/0.2943, allocations: 8 kB / 0.7898 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.2944, allocations: 11.44 kB / 0.7898 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.2944, allocations: 0 / 0.7898 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of Templates: time 0.004526/0.2989, allocations: 1.358 MB / 0.7912 GB, free: 4.906 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)