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.259/1.259, allocations: 252 MB / 267.9 MB, free: 10.91 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.0009018/0.0009019, allocations: 179.8 kB / 327.6 MB, free: 2.156 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.351/1.351, allocations: 205.4 MB / 0.5785 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.0007252/0.0007252, allocations: 103.6 kB / 0.6831 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 13.12 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1648, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.3102, allocations: 133.8 MB / 1.032 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.3105, allocations: 79.95 kB / 1.032 GB, free: 9.605 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.008168/0.3187, allocations: 3.082 MB / 1.035 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3187, allocations: 4 kB / 1.035 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.3187, allocations: 4 kB / 1.035 GB, free: 6.508 MB / 0.6823 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.0004595/0.3192, allocations: 468.7 kB / 1.035 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.3192, allocations: 8.031 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.3193, allocations: 8.844 kB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3194, allocations: 174.9 kB / 1.036 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.3194, allocations: 8.375 kB / 1.036 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.3194, allocations: 8.375 kB / 1.036 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.3197, allocations: 98.06 kB / 1.036 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3197, allocations: 192 / 1.036 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3197, allocations: 3.938 kB / 1.036 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3197, allocations: 4 kB / 1.036 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.3198, allocations: 51.91 kB / 1.036 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.3203, allocations: 328.8 kB / 1.036 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3205, allocations: 70.48 kB / 1.036 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.385e-05/0.3206, allocations: 44.84 kB / 1.036 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.3206, allocations: 4 kB / 1.036 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.3208, allocations: 95.55 kB / 1.036 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.3208, allocations: 0 / 1.036 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0004253/0.3212, allocations: 197.5 kB / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.3213, allocations: 59.39 kB / 1.037 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.3214, allocations: 125.8 kB / 1.037 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.3214, allocations: 33.7 kB / 1.037 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.3215, allocations: 92.27 kB / 1.037 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.3215, allocations: 15.81 kB / 1.037 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/0.3215, allocations: 8 kB / 1.037 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.3216, allocations: 322.8 kB / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/0.3217, allocations: 23.98 kB / 1.037 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.3218, allocations: 85.92 kB / 1.037 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.322, allocations: 121.8 kB / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.322, allocations: 0 / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002254/0.3222, allocations: 133.4 kB / 1.037 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3223, allocations: 4 kB / 1.037 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3223, allocations: 12.47 kB / 1.037 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3223, allocations: 0 / 1.037 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/0.3224, allocations: 15.98 kB / 1.038 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3224, allocations: 4 kB / 1.038 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.3225, allocations: 31.77 kB / 1.038 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3225, allocations: 4 kB / 1.038 GB, free: 3.621 MB / 0.6823 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,bli.occ,$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.068e-05/0.3226, allocations: 128.8 kB / 1.038 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.3226, allocations: 7.906 kB / 1.038 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.3226, allocations: 12.38 kB / 1.038 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3226, allocations: 3.984 kB / 1.038 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3226, allocations: 0 / 1.038 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3226, allocations: 3.938 kB / 1.038 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.3231, allocations: 438.4 kB / 1.038 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3231, allocations: 8 kB / 1.038 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.3232, allocations: 4 kB / 1.038 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3232, allocations: 0 / 1.038 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3232, allocations: 3.984 kB / 1.038 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3232, allocations: 0 / 1.038 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3232, allocations: 0 / 1.038 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.3236, allocations: 263.3 kB / 1.038 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.3237, allocations: 85.02 kB / 1.038 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.3237, allocations: 0 / 1.038 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.3239, allocations: 7.984 kB / 1.038 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.3239, allocations: 11.94 kB / 1.038 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.3239, allocations: 11.92 kB / 1.038 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.486e-05/0.324, allocations: 93.27 kB / 1.039 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.324, allocations: 0 / 1.039 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003166/0.3244, allocations: 63.88 kB / 1.039 GB, free: 2.402 MB / 0.6823 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,bli.occ,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.0003087/0.3247, allocations: 170.9 kB / 1.039 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.3249, allocations: 99.89 kB / 1.039 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3249, allocations: 0 / 1.039 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.325, allocations: 43.98 kB / 1.039 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.3253, allocations: 19.92 kB / 1.039 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.3257, allocations: 237.5 kB / 1.039 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.3259, allocations: 0.6887 MB / 1.04 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.918e-05/0.326, allocations: 4 kB / 1.04 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.326, allocations: 15.44 kB / 1.04 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.326, allocations: 0 / 1.04 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of Templates: time 0.003695/0.3297, allocations: 1.747 MB / 1.042 GB, free: 15.38 MB / 0.698 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)