Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001233/0.001233, 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.001899/0.001899, allocations: 194.5 kB / 16.14 MB, free: 6.695 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.515/1.515, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.101/3.101, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 65.64 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4658, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.003457/0.4694, allocations: 0.7502 MB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.471, allocations: 0.8546 MB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.775e-05/0.4711, allocations: 0 / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.252e-05/0.4712, allocations: 3.938 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.4714, allocations: 3.938 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.4717, allocations: 19.98 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.4718, allocations: 63.83 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.472, allocations: 16 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.4721, allocations: 23.86 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.4722, allocations: 27.89 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.4723, allocations: 0 / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.054e-05/0.4723, allocations: 4 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.4723, allocations: 7.938 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.724e-05/0.4724, allocations: 31.8 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.4725, allocations: 60.05 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4726, allocations: 4 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.91e-07/0.4726, allocations: 0 / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.4726, allocations: 0 / 1.069 GB, free: 9.043 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.000646/0.4732, allocations: 371.3 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.4733, allocations: 8.031 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/0.4734, allocations: 8.844 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.4737, allocations: 200.1 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.4737, allocations: 384 / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.4738, allocations: 12.38 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.474, allocations: 54.23 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.474, allocations: 192 / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.474, allocations: 3.938 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.474, allocations: 4 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.4741, allocations: 31.92 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.4747, allocations: 292.8 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.475, allocations: 70.47 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.4751, allocations: 21 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.4751, allocations: 0 / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.4751, allocations: 38.56 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.4752, allocations: 0 / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002853/0.4754, allocations: 69.58 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.4755, allocations: 55.41 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.4756, allocations: 121.8 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.4757, allocations: 25.7 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.33e-05/0.4758, allocations: 96.12 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.4758, allocations: 15.83 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.4759, allocations: 21.7 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.476, allocations: 314.8 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/0.4761, allocations: 19.92 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.4762, allocations: 33.7 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.4763, allocations: 24.84 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4763, allocations: 4.031 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001691/0.4765, allocations: 61.69 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.4765, allocations: 9.547 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4765, allocations: 0 / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.4765, allocations: 0 / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.807e-05/0.4766, allocations: 7.938 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.4766, allocations: 4 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/0.4767, allocations: 11.92 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.4767, allocations: 0 / 1.071 GB, free: 6.84 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.0001305/0.4769, allocations: 121.8 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.4769, allocations: 8.234 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.477, allocations: 7.906 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.477, allocations: 7.969 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.477, allocations: 0 / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.477, allocations: 0 / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.4772, allocations: 177.6 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.4772, allocations: 4 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.4773, allocations: 11.92 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.4773, allocations: 4 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.4773, allocations: 0 / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4773, allocations: 4 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4773, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.4776, allocations: 163.3 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.4777, allocations: 77.11 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.4777, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.4778, allocations: 11.98 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.4778, allocations: 7.984 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.4778, allocations: 4 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.964e-05/0.4779, allocations: 99.64 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.994e-06/0.4779, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002329/0.4782, allocations: 15.84 kB / 1.072 GB, free: 6.027 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.0002151/0.4784, allocations: 95.25 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000181/0.4786, allocations: 35.97 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4786, allocations: 4 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.662e-05/0.4787, allocations: 15.94 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.479, allocations: 15.92 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.4795, allocations: 165.7 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.4798, allocations: 0.6848 MB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.33e-05/0.4799, allocations: 4 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.4799, allocations: 11.44 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of SimCode: time 6.31e-07/0.4799, allocations: 0 / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of Templates: time 0.003491/0.4834, allocations: 0.6072 MB / 1.074 GB, free: 4.332 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)