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.001064/0.001064, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.00901/0.009011, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 10.72 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3245, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001695/0.3262, allocations: 1.227 MB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.3275, allocations: 0.7441 MB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.3276, allocations: 0 / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.3276, allocations: 0 / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.367e-05/0.3277, allocations: 11.86 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.3281, allocations: 107.8 kB / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.3283, allocations: 83.75 kB / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3284, allocations: 19.97 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.191e-05/0.3285, allocations: 39.84 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/0.3286, allocations: 43.83 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.3286, allocations: 7.938 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.3288, allocations: 87.84 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.816e-05/0.3288, allocations: 15.98 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.3289, allocations: 69.47 kB / 1.077 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.3291, allocations: 151.9 kB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3291, allocations: 0 / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3291, allocations: 0 / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.3291, allocations: 4 kB / 1.077 GB, free: 4.934 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.0005609/0.3297, allocations: 438.6 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3298, allocations: 12.03 kB / 1.077 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.3298, allocations: 8.844 kB / 1.077 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3299, allocations: 176.2 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.33, allocations: 12.38 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.33, allocations: 4.375 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.3302, allocations: 97.94 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3302, allocations: 0 / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3303, allocations: 0 / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3303, allocations: 4 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.3305, allocations: 55.91 kB / 1.077 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.331, allocations: 328.6 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.3312, allocations: 74.55 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.3313, allocations: 40.84 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.3313, allocations: 4 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.3316, allocations: 99.38 kB / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.3316, allocations: 0 / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005262/0.3321, allocations: 197.7 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.3322, allocations: 63.39 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3323, allocations: 117.8 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.3323, allocations: 33.7 kB / 1.078 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.389e-05/0.3324, allocations: 88.36 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.3325, allocations: 23.72 kB / 1.078 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.3325, allocations: 29.7 kB / 1.078 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3327, allocations: 322.8 kB / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.204e-05/0.3328, allocations: 31.92 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.3329, allocations: 88.17 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.3331, allocations: 113.9 kB / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3332, allocations: 0 / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002677/0.3334, allocations: 137.4 kB / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3335, allocations: 4.156 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3335, allocations: 8 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3335, allocations: 3.938 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.3336, allocations: 15.98 kB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3336, allocations: 4 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.838e-05/0.3337, allocations: 19.89 kB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.3337, allocations: 4 kB / 1.079 GB, free: 2.047 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.0001224/0.3338, allocations: 129.7 kB / 1.079 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.3339, allocations: 4.094 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.3339, allocations: 12.36 kB / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3339, allocations: 0 / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3339, allocations: 0 / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3339, allocations: 3.984 kB / 1.079 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.3345, allocations: 454.4 kB / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3345, allocations: 0 / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.3346, allocations: 4 kB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.3346, allocations: 0 / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.3346, allocations: 3.984 kB / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3346, allocations: 4 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3346, allocations: 3.938 kB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.335, allocations: 259.5 kB / 1.08 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.3351, allocations: 85.02 kB / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.3351, allocations: 0 / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3352, allocations: 8 kB / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.3353, allocations: 11.92 kB / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.3353, allocations: 11.92 kB / 1.08 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.603e-05/0.3354, allocations: 98.39 kB / 1.08 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3354, allocations: 4 kB / 1.08 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000332/0.3357, allocations: 40 kB / 1.08 GB, free: 0.8359 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.0004009/0.3362, allocations: 162.5 kB / 1.08 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.3365, allocations: 99.89 kB / 1.081 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3365, allocations: 3.938 kB / 1.081 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.3366, allocations: 47.97 kB / 1.081 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.3369, allocations: 21.52 kB / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.3375, allocations: 225.3 kB / 1.081 GB, free: 272 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.3378, allocations: 0.6926 MB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.342e-05/0.3379, allocations: 12.17 kB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.3379, allocations: 15.44 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of SimCode: time 8.12e-07/0.3379, allocations: 0 / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.004894/0.3428, allocations: 1.597 MB / 1.083 GB, free: 13.94 MB / 0.8419 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)