Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001087/0.001087, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001095/0.001094, allocations: 189.3 kB / 16.25 MB, free: 6.629 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 472.6 MB / 0.7448 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 64.78 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.343, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002925/0.346, allocations: 1.554 MB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.3473, allocations: 0.7478 MB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/0.3474, allocations: 3.938 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.3474, allocations: 0 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.274e-05/0.3475, allocations: 19.86 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.3481, allocations: 115.8 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.3482, allocations: 83.78 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3483, allocations: 19.97 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.782e-05/0.3484, allocations: 39.84 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.3485, allocations: 43.83 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.3486, allocations: 12 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.3487, allocations: 99.84 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.3488, allocations: 23.91 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.3489, allocations: 43.84 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.3491, allocations: 147.9 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3491, allocations: 0 / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3491, allocations: 3.938 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3492, allocations: 0 / 1.071 GB, free: 7.785 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.0006862/0.3498, allocations: 458.5 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3499, allocations: 12.03 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.3499, allocations: 8.844 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.3501, allocations: 184.3 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.3501, allocations: 8.375 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.3501, allocations: 4.375 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.3504, allocations: 93.88 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3504, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.3504, allocations: 4 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3504, allocations: 0 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.3506, allocations: 47.97 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.3511, allocations: 324.6 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.3513, allocations: 62.55 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3514, allocations: 48.78 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.3515, allocations: 4 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.3517, allocations: 99.38 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.3517, allocations: 0 / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0004774/0.3522, allocations: 181.5 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3523, allocations: 63.39 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.3524, allocations: 125.8 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3524, allocations: 33.69 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.3525, allocations: 88.38 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.3525, allocations: 19.95 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.3526, allocations: 37.64 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3527, allocations: 326.8 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.612e-05/0.3528, allocations: 23.98 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.3529, allocations: 78.83 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.3531, allocations: 117.8 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3531, allocations: 4 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002509/0.3533, allocations: 125.4 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3534, allocations: 8 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3534, allocations: 8.141 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3534, allocations: 4 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.071e-05/0.3535, allocations: 11.94 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3535, allocations: 4 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.3536, allocations: 15.89 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.3536, allocations: 7.984 kB / 1.073 GB, free: 4.914 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.000104/0.3537, allocations: 133.7 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.3537, allocations: 11.91 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.3538, allocations: 12.36 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3538, allocations: 0 / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3538, allocations: 384 / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3538, allocations: 0 / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.3543, allocations: 434.3 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3543, allocations: 0 / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.3544, allocations: 4 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3544, allocations: 0 / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.3544, allocations: 7.984 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3544, allocations: 4 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3544, allocations: 3.938 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.3548, allocations: 247.3 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.3548, allocations: 85.02 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.3549, allocations: 4 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.355, allocations: 11.98 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.355, allocations: 11.94 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3551, allocations: 3.984 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.969e-05/0.3551, allocations: 98.52 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3551, allocations: 0 / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003144/0.3554, allocations: 40 kB / 1.074 GB, free: 3.727 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.0003499/0.3558, allocations: 175.5 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.3561, allocations: 91.88 kB / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3561, allocations: 0 / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.3562, allocations: 47.92 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.3565, allocations: 14.41 kB / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.3569, allocations: 236 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3572, allocations: 0.6885 MB / 1.075 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.3572, allocations: 11.98 kB / 1.075 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.3573, allocations: 11.44 kB / 1.075 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3573, allocations: 4 kB / 1.075 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of Templates: time 0.004348/0.3616, allocations: 1.66 MB / 1.077 GB, free: 0.7695 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)