Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 91.84 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.01112/0.01112, allocations: 175.6 kB / 16.27 MB, free: 6.613 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.45/1.45, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003914, allocations: 10.73 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4229, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001116/0.4241, allocations: 429.2 kB / 1.075 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.4254, allocations: 0.8468 MB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.259e-05/0.4255, allocations: 0 / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.4256, allocations: 0 / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.4257, allocations: 19.8 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.4259, allocations: 23.92 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.4261, allocations: 51.86 kB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.4262, allocations: 19.98 kB / 1.075 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.4263, allocations: 19.91 kB / 1.075 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.339e-05/0.4264, allocations: 19.86 kB / 1.076 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.4265, allocations: 8 kB / 1.076 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.4265, allocations: 0 / 1.076 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.4265, allocations: 11.94 kB / 1.076 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.4266, allocations: 45.56 kB / 1.076 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.4267, allocations: 56.09 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.4267, allocations: 0 / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4267, allocations: 0 / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.4268, allocations: 0 / 1.076 GB, free: 5.988 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005486/0.4273, allocations: 367.3 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4274, allocations: 8.031 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.4274, allocations: 4.938 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.4277, allocations: 204.1 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.4277, allocations: 384 / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.4278, allocations: 4.375 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.4279, allocations: 58.23 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4279, allocations: 4.188 kB / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.428, allocations: 7.938 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.428, allocations: 0 / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.4281, allocations: 35.97 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.4286, allocations: 304.7 kB / 1.077 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.4289, allocations: 86.52 kB / 1.077 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.429, allocations: 20.92 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.429, allocations: 0 / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.4291, allocations: 30.66 kB / 1.077 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 2.545e-06/0.4291, allocations: 0 / 1.077 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002826/0.4293, allocations: 89.59 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.4294, allocations: 51.41 kB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4295, allocations: 125.7 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.4295, allocations: 25.7 kB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.4296, allocations: 92.12 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.4296, allocations: 7.906 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.4297, allocations: 13.72 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4298, allocations: 322.8 kB / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.548e-05/0.4299, allocations: 16 kB / 1.077 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.338e-05/0.43, allocations: 33.7 kB / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.481e-05/0.4301, allocations: 37.06 kB / 1.077 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4301, allocations: 3.938 kB / 1.077 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001556/0.4303, allocations: 77.59 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4303, allocations: 8 kB / 1.078 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4303, allocations: 0 / 1.078 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4303, allocations: 0 / 1.078 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.4304, allocations: 15.92 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4304, allocations: 0 / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.4305, allocations: 11.94 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.4305, allocations: 8 kB / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (shaH.hys.y,$PRE.shaH.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001031/0.4306, allocations: 121.8 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.4306, allocations: 7.844 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.4307, allocations: 11.91 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4307, allocations: 0 / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4307, allocations: 0 / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.4307, allocations: 0 / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.4309, allocations: 177.6 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4309, allocations: 0 / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.4309, allocations: 8 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4309, allocations: 0 / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.431, allocations: 0 / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.431, allocations: 0 / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.431, allocations: 4 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.4312, allocations: 155.5 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.4312, allocations: 93 kB / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.4313, allocations: 4 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.4313, allocations: 8 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.4314, allocations: 3.984 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.4314, allocations: 7.938 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.797e-05/0.4315, allocations: 91.27 kB / 1.078 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4315, allocations: 0 / 1.078 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002269/0.4317, allocations: 12 kB / 1.078 GB, free: 2.93 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: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001289/0.4318, allocations: 103.2 kB / 1.078 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.432, allocations: 35.98 kB / 1.078 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.432, allocations: 0 / 1.078 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.085e-05/0.4321, allocations: 19.98 kB / 1.078 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.4324, allocations: 7.938 kB / 1.078 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.4328, allocations: 184.7 kB / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.4331, allocations: 0.6898 MB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.629e-05/0.4332, allocations: 4 kB / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.4332, allocations: 11.44 kB / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.4332, allocations: 3.938 kB / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of Templates: time 0.003004/0.4362, allocations: 0.5964 MB / 1.08 GB, free: 1.219 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)