Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, 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.001895/0.001895, allocations: 195.5 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 472.6 MB / 0.7451 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 61.25 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3059, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003122/0.3091, allocations: 1.494 MB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.3105, allocations: 0.7555 MB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.3106, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.728e-05/0.3107, allocations: 7.875 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.3108, allocations: 11.88 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/0.3114, allocations: 135.6 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.3115, allocations: 87.75 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3116, allocations: 19.97 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.427e-05/0.3117, allocations: 43.86 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.3118, allocations: 43.81 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.3118, allocations: 8 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.312, allocations: 95.84 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.3121, allocations: 15.98 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.3121, allocations: 43.8 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.3124, allocations: 159.9 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3124, allocations: 0 / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3124, allocations: 0 / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.3124, allocations: 0 / 1.071 GB, free: 7.461 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.0005957/0.313, allocations: 466.5 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3131, allocations: 8.031 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.3131, allocations: 8.844 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.3133, allocations: 176.2 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.3133, allocations: 8.359 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.3133, allocations: 12.38 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.3135, allocations: 85.89 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3136, allocations: 0 / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.3136, allocations: 7.984 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3136, allocations: 0 / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.3137, allocations: 47.91 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.3143, allocations: 324.7 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.3145, allocations: 66.55 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.3146, allocations: 48.88 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3147, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.3149, allocations: 95.36 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.3149, allocations: 0 / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.000482/0.3154, allocations: 189.5 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.3155, allocations: 55.41 kB / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.3156, allocations: 125.7 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3156, allocations: 29.7 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.3156, allocations: 100.4 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.3157, allocations: 15.81 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.3157, allocations: 37.64 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.3158, allocations: 322.8 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-05/0.3159, allocations: 31.98 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.316, allocations: 79.61 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.3162, allocations: 105.9 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.3163, allocations: 3.984 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002575/0.3165, allocations: 137.3 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3165, allocations: 4 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3166, allocations: 0 / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3166, allocations: 4 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.3167, allocations: 20.36 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3167, allocations: 8.156 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.722e-05/0.3168, allocations: 8 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3168, allocations: 7.984 kB / 1.074 GB, free: 4.594 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.0001029/0.3169, allocations: 141.6 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.3169, allocations: 7.906 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.317, allocations: 8.375 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.317, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.317, allocations: 8 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.317, allocations: 3.984 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005464/0.3175, allocations: 426.5 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3176, allocations: 4 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.3176, allocations: 0 / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3176, allocations: 4 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.3176, allocations: 7.984 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3176, allocations: 3.984 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3177, allocations: 7.875 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.318, allocations: 243.4 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.3181, allocations: 85 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.3181, allocations: 7.938 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3182, allocations: 4 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.3183, allocations: 11.92 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.3183, allocations: 4 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.559e-05/0.3184, allocations: 103.3 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3184, allocations: 0 / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003393/0.3187, allocations: 43.98 kB / 1.075 GB, free: 3.391 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.0003545/0.3191, allocations: 163 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003006/0.3194, allocations: 99.83 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3194, allocations: 0 / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.3195, allocations: 51.97 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3198, allocations: 12.92 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.3203, allocations: 210.7 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.3206, allocations: 0.6885 MB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.125e-05/0.3206, allocations: 8.172 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.3206, allocations: 19.42 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3206, allocations: 0 / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of Templates: time 0.004725/0.3254, allocations: 1.703 MB / 1.077 GB, free: 428 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)