Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001172, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 194 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 66.7 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3026, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003215/0.3058, allocations: 1.497 MB / 1.07 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.3074, allocations: 0.7516 MB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.3075, allocations: 4 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.591e-05/0.3076, allocations: 3.938 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.724e-05/0.3077, allocations: 15.86 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008376/0.3086, allocations: 135.5 kB / 1.071 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.3088, allocations: 75.84 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3089, allocations: 23.97 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.309, allocations: 51.78 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.188e-05/0.3091, allocations: 39.83 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.3092, allocations: 8 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.3094, allocations: 95.84 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.3094, allocations: 27.91 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.3095, allocations: 39.84 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.3098, allocations: 151.9 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3098, allocations: 0 / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.116e-06/0.3098, allocations: 0 / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3098, allocations: 7.938 kB / 1.071 GB, free: 7.527 MB / 0.8262 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.0007001/0.3105, allocations: 458.5 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3106, allocations: 12.03 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.3106, allocations: 8.844 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.3108, allocations: 180.2 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.3108, allocations: 4.375 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.3108, allocations: 8.375 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.3111, allocations: 93.88 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3111, allocations: 3.984 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.3111, allocations: 0 / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3111, allocations: 4 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3113, allocations: 43.97 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006452/0.312, allocations: 324.6 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.3122, allocations: 70.53 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.3123, allocations: 44.84 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.3123, allocations: 7.984 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.3126, allocations: 95.39 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/0.3126, allocations: 0 / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005249/0.3131, allocations: 185.5 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.3132, allocations: 59.41 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3133, allocations: 125.7 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3133, allocations: 33.7 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.3134, allocations: 88.38 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.3134, allocations: 19.94 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.3135, allocations: 37.66 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3136, allocations: 330.8 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.3137, allocations: 24.36 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.3138, allocations: 76.8 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.314, allocations: 109.9 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3141, allocations: 3.938 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002601/0.3143, allocations: 141.4 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3143, allocations: 4 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.3144, allocations: 4 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3144, allocations: 4 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3145, allocations: 15.92 kB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.3145, allocations: 4 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.85e-05/0.3146, allocations: 11.91 kB / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.3146, allocations: 4 kB / 1.074 GB, free: 4.66 MB / 0.8262 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 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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.0001065/0.3147, allocations: 140.7 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.3148, allocations: 11.89 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.3148, allocations: 8.375 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3148, allocations: 0 / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3148, allocations: 4 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3148, allocations: 96 / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/0.3153, allocations: 438.4 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3154, allocations: 0 / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.3154, allocations: 7.984 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3154, allocations: 0 / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3154, allocations: 0 / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.3154, allocations: 4 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3154, allocations: 3.938 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.3158, allocations: 251.3 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.3159, allocations: 85.02 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.3159, allocations: 3.984 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.316, allocations: 4 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.316, allocations: 11.92 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.3161, allocations: 4 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.373e-05/0.3161, allocations: 96.52 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3161, allocations: 192 / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003331/0.3165, allocations: 43.98 kB / 1.075 GB, free: 3.469 MB / 0.8262 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 (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.0003623/0.3168, allocations: 170.7 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002834/0.3171, allocations: 95.89 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3172, allocations: 0 / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.3173, allocations: 52.22 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.3176, allocations: 16.55 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.3181, allocations: 195.5 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.3183, allocations: 0.7001 MB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.255e-05/0.3184, allocations: 4 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.3184, allocations: 11.62 kB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3184, allocations: 0 / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of Templates: time 0.004894/0.3233, allocations: 1.707 MB / 1.077 GB, free: 0.4961 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)