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.0009116/0.0009119, 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.006161/0.006161, allocations: 169.6 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.559/1.559, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.128/3.128, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003876, allocations: 8.062 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.405, 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.001113/0.4061, allocations: 429.2 kB / 1.075 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.4075, allocations: 0.8468 MB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.919e-05/0.4076, allocations: 4 kB / 1.075 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.4076, allocations: 0 / 1.075 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.4077, allocations: 7.938 kB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.4079, allocations: 23.92 kB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.4081, allocations: 55.78 kB / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.4082, allocations: 19.98 kB / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.4083, allocations: 19.92 kB / 1.075 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.151e-05/0.4084, allocations: 23.86 kB / 1.076 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.4085, allocations: 0 / 1.076 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.4085, allocations: 4 kB / 1.076 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.4085, allocations: 7.984 kB / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.822e-05/0.4086, allocations: 53.5 kB / 1.076 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.4087, allocations: 52.11 kB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4087, allocations: 0 / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.865e-06/0.4087, allocations: 3.938 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.4088, 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.0005701/0.4093, allocations: 367.3 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4094, allocations: 8.031 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.4094, allocations: 8.922 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.4098, allocations: 196.1 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.4098, allocations: 8.359 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.4098, allocations: 8.312 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.41, allocations: 62.23 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.41, allocations: 192 / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.41, allocations: 3.938 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.41, allocations: 4 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.4102, allocations: 31.98 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.4107, allocations: 304.7 kB / 1.077 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.411, allocations: 82.53 kB / 1.077 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.4111, allocations: 21 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.4111, allocations: 0 / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.4112, allocations: 34.56 kB / 1.077 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 2.816e-06/0.4112, allocations: 4 kB / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002897/0.4115, allocations: 77.61 kB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.4115, allocations: 51.41 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.4116, allocations: 125.7 kB / 1.077 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.4117, allocations: 29.7 kB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.4117, allocations: 88.14 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.4118, allocations: 7.906 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.4118, allocations: 17.7 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4119, allocations: 318.8 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.412, allocations: 19.98 kB / 1.077 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/0.4121, allocations: 29.7 kB / 1.077 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.4122, allocations: 40.81 kB / 1.077 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4122, allocations: 0 / 1.077 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001546/0.4124, allocations: 69.59 kB / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4124, allocations: 4 kB / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4124, allocations: 0 / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4124, allocations: 0 / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.4125, allocations: 12.31 kB / 1.078 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.4125, allocations: 0 / 1.078 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.4126, allocations: 19.92 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.4126, allocations: 0 / 1.078 GB, free: 3.742 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 9.976e-05/0.4127, allocations: 121.7 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.4127, allocations: 11.89 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.4128, allocations: 7.906 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4128, allocations: 7.875 kB / 1.078 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4128, allocations: 0 / 1.078 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4128, allocations: 4 kB / 1.078 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.413, allocations: 177.6 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.413, allocations: 0 / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.4131, allocations: 4 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4131, allocations: 4 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4131, allocations: 3.984 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4131, allocations: 0 / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.4131, allocations: 4 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.4133, allocations: 163.5 kB / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.4134, allocations: 81.02 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.4134, allocations: 4 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.889e-05/0.4135, allocations: 11.98 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.4136, allocations: 7.984 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.4136, allocations: 0 / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.479e-05/0.4137, allocations: 107.6 kB / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4137, allocations: 0 / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002313/0.4139, allocations: 8 kB / 1.078 GB, free: 2.926 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.0001164/0.414, allocations: 95.25 kB / 1.078 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.4142, allocations: 35.98 kB / 1.078 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4142, allocations: 0 / 1.078 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.146e-05/0.4143, allocations: 23.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.000305/0.4146, allocations: 9.344 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.0004307/0.415, allocations: 188.6 kB / 1.079 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.4153, allocations: 0.6848 MB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.254e-05/0.4154, allocations: 4 kB / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.4154, allocations: 15.42 kB / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.4154, allocations: 0 / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of Templates: time 0.003329/0.4188, allocations: 0.5953 MB / 1.08 GB, free: 1.223 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)