Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001639/0.001639, allocations: 195.8 kB / 16.14 MB, free: 6.688 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.498/1.498, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.003/3.003, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 58.17 kB / 0.9113 GB, free: 33.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3311, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.003874/0.335, allocations: 1.533 MB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009866/0.336, allocations: 450.8 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.3361, allocations: 0 / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.41e-05/0.3362, allocations: 7.938 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.491e-05/0.3363, allocations: 3.938 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.3365, allocations: 27.91 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3367, allocations: 47.84 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3368, allocations: 8 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3369, allocations: 23.86 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/0.337, allocations: 23.91 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.337, allocations: 4 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.732e-05/0.3371, allocations: 4 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/0.3371, allocations: 11.92 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.3372, allocations: 19.88 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.3373, allocations: 44.16 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3373, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3373, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3373, allocations: 0 / 1.07 GB, free: 8.734 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007488/0.3381, allocations: 410.7 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3382, allocations: 12.03 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.3382, allocations: 4.938 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.3384, allocations: 176.3 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.3384, allocations: 384 / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.3385, allocations: 4.375 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.3387, allocations: 65.92 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3387, allocations: 0 / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3387, allocations: 0 / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3387, allocations: 0 / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.3389, allocations: 39.97 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007053/0.3396, allocations: 284.7 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.3398, allocations: 42.5 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.3399, allocations: 28.94 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.34, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.3402, allocations: 79.31 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.953e-06/0.3402, allocations: 0 / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0004881/0.3407, allocations: 101.6 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.3408, allocations: 67.28 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3409, allocations: 109.8 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.341, allocations: 33.7 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.341, allocations: 88.05 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.3411, allocations: 11.89 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.3411, allocations: 17.72 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3413, allocations: 326.8 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.411e-05/0.3414, allocations: 15.98 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3415, allocations: 48.28 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.3417, allocations: 72.22 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3417, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002559/0.342, allocations: 93.45 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.342, allocations: 4 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.342, allocations: 7.984 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.342, allocations: 0 / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3422, allocations: 12.16 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3422, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.13e-05/0.3423, allocations: 7.984 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.3423, allocations: 8 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (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 (7): * Single equations (assignments): 7 * 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.0002058/0.3425, allocations: 117.7 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.3425, allocations: 11.91 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.3426, allocations: 3.969 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3426, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3426, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.3426, allocations: 7.984 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.3431, allocations: 350.4 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3432, allocations: 3.938 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.3432, allocations: 7.984 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3432, allocations: 384 / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3433, allocations: 0 / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3433, allocations: 320 / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.3433, allocations: 7.938 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.3436, allocations: 191.3 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.3437, allocations: 81.11 kB / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.3438, allocations: 7.984 kB / 1.072 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3439, allocations: 4 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.3439, allocations: 11.92 kB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.344, allocations: 4 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.102e-05/0.344, allocations: 91.22 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.344, allocations: 0 / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003987/0.3445, allocations: 11.98 kB / 1.073 GB, free: 5.34 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: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001223/0.3446, allocations: 103.2 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.3448, allocations: 48.16 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3449, allocations: 4.062 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.345, allocations: 27.98 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.3454, allocations: 13.7 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.3459, allocations: 161.4 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.3462, allocations: 0.6887 MB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.321e-05/0.3462, allocations: 7.984 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.3462, allocations: 11.44 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.3463, allocations: 0 / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of Templates: time 0.003425/0.3497, allocations: 0.4947 MB / 1.074 GB, free: 3.734 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1)