Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.535/1.535, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009213/0.0009214, allocations: 187.1 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 0.5783 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008326/0.0008328, allocations: 91.8 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003293, allocations: 5.906 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2598, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001785/0.2616, allocations: 1.211 MB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.2628, allocations: 0.7412 MB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.2628, allocations: 0 / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.2628, allocations: 7.922 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.13e-05/0.2629, allocations: 11.92 kB / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.2634, allocations: 99.7 kB / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.2635, allocations: 83.7 kB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.2636, allocations: 19.98 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.682e-05/0.2637, allocations: 31.91 kB / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.2638, allocations: 39.83 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2638, allocations: 4 kB / 0.903 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.2639, allocations: 83.86 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.264, allocations: 19.95 kB / 0.9031 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.264, allocations: 41.64 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.2642, allocations: 107.8 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.2642, allocations: 0 / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2642, allocations: 0 / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.2642, allocations: 4 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005284/0.2648, allocations: 443.3 kB / 0.9037 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2648, allocations: 8.031 kB / 0.9037 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.2649, allocations: 11.84 kB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.703e-05/0.2649, allocations: 179 kB / 0.9039 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.265, allocations: 8 kB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.265, allocations: 4 kB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.2652, allocations: 93.56 kB / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2652, allocations: 0 / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2652, allocations: 0 / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2652, allocations: 7.938 kB / 0.904 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.2654, allocations: 51.97 kB / 0.904 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.2659, allocations: 324.6 kB / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.266, allocations: 70.55 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.2661, allocations: 48.83 kB / 0.9045 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2662, allocations: 160 / 0.9045 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.2664, allocations: 103.4 kB / 0.9046 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.2664, allocations: 0 / 0.9046 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0004219/0.2668, allocations: 205.4 kB / 0.9047 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.2669, allocations: 51.41 kB / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/0.267, allocations: 125.8 kB / 0.9049 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.267, allocations: 29.7 kB / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.267, allocations: 96.31 kB / 0.905 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.2671, allocations: 23.7 kB / 0.9051 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.2671, allocations: 4 kB / 0.9051 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.504e-05/0.2671, allocations: 319.2 kB / 0.9054 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.2672, allocations: 31.97 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.15e-05/0.2673, allocations: 74.98 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.412e-05/0.2674, allocations: 35.92 kB / 0.9055 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2674, allocations: 3.938 kB / 0.9055 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002378/0.2676, allocations: 145.4 kB / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2677, allocations: 8 kB / 0.9057 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.2677, allocations: 0 / 0.9057 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2677, allocations: 4 kB / 0.9057 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.138e-05/0.2678, allocations: 19.92 kB / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2678, allocations: 4.109 kB / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.426e-05/0.2679, allocations: 23.84 kB / 0.9057 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.2679, allocations: 4 kB / 0.9057 GB, free: 58.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.749e-05/0.268, allocations: 124.9 kB / 0.9058 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.268, allocations: 4.094 kB / 0.9058 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.2681, allocations: 12.36 kB / 0.9058 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.2681, allocations: 4 kB / 0.9058 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2681, allocations: 8 kB / 0.9059 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2681, allocations: 3.953 kB / 0.9059 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.2685, allocations: 442.3 kB / 0.9063 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2685, allocations: 0 / 0.9063 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.2686, allocations: 11.92 kB / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2686, allocations: 0 / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.2686, allocations: 8 kB / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2686, allocations: 3.953 kB / 0.9063 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2686, allocations: 0 / 0.9063 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.2689, allocations: 255.3 kB / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.2689, allocations: 84.95 kB / 0.9066 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.269, allocations: 7.984 kB / 0.9066 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.2691, allocations: 8 kB / 0.9066 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.2691, allocations: 11.94 kB / 0.9067 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.2691, allocations: 4 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.2692, allocations: 101.7 kB / 0.9068 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2692, allocations: 0 / 0.9068 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002699/0.2695, allocations: 47.92 kB / 0.9068 GB, free: 57.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003009/0.2698, allocations: 163.5 kB / 0.907 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.27, allocations: 95.83 kB / 0.907 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.27, allocations: 4.312 kB / 0.9071 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.2701, allocations: 55.91 kB / 0.9071 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.2704, allocations: 8 kB / 0.9071 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.2708, allocations: 255 kB / 0.9074 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.2709, allocations: 0.6926 MB / 0.908 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.2709, allocations: 11.44 kB / 0.908 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2709, allocations: 0 / 0.908 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.003093/0.274, allocations: 1.785 MB / 0.9098 GB, free: 54.3 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)