Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.236/2.236, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 175.9 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.599/2.599, allocations: 205.4 MB / 0.5772 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009983/0.0009977, allocations: 96.41 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007768/0.0007771, allocations: 12.53 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2333, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2555/0.4888, allocations: 131.6 MB / 1.028 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.4892, allocations: 75.94 kB / 1.028 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004618/0.4938, allocations: 1.112 MB / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 9.759e-06/0.4939, allocations: 0 / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.4939, allocations: 3.938 kB / 1.029 GB, free: 12.59 MB / 0.6823 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.0005814/0.4945, allocations: 367.3 kB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.4945, allocations: 8.031 kB / 1.029 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.4946, allocations: 8.844 kB / 1.03 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.4948, allocations: 164.4 kB / 1.03 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.4948, allocations: 8.375 kB / 1.03 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.4949, allocations: 8.375 kB / 1.03 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.4951, allocations: 58.22 kB / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4951, allocations: 4.188 kB / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.4951, allocations: 3.938 kB / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4952, allocations: 0 / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.4954, allocations: 39.91 kB / 1.03 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/0.496, allocations: 304.7 kB / 1.03 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.4965, allocations: 90.41 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.252e-05/0.4966, allocations: 20.92 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.4967, allocations: 96 / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.4967, allocations: 38.55 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.4967, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0003835/0.4971, allocations: 77.67 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.4972, allocations: 51.41 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.4973, allocations: 121.8 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.4973, allocations: 25.7 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.4974, allocations: 108 kB / 1.031 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.4975, allocations: 7.844 kB / 1.031 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.4975, allocations: 0 / 1.031 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4977, allocations: 326.8 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.4978, allocations: 12 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.4979, allocations: 33.83 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.836e-05/0.498, allocations: 28.09 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.498, allocations: 0 / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002438/0.4983, allocations: 65.59 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.4983, allocations: 8 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4984, allocations: 3.984 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4984, allocations: 0 / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.4985, allocations: 4 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4985, allocations: 7.938 kB / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.4986, allocations: 19.98 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.4987, allocations: 0 / 1.031 GB, free: 10.38 MB / 0.6823 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 ($PRE.shaH.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.4988, allocations: 118.9 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.4988, allocations: 0 / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.4989, allocations: 7.906 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4989, allocations: 0 / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4989, allocations: 4 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4989, allocations: 3.984 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.4992, allocations: 177.6 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4992, allocations: 0 / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.352e-05/0.4993, allocations: 7.984 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4993, allocations: 0 / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.4994, allocations: 0 / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.4994, allocations: 8 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4994, allocations: 0 / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.4997, allocations: 171.3 kB / 1.032 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.4998, allocations: 81.02 kB / 1.032 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.4998, allocations: 4 kB / 1.032 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.5, allocations: 11.98 kB / 1.032 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.5001, allocations: 11.92 kB / 1.032 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.5001, allocations: 0 / 1.032 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.784e-05/0.5002, allocations: 95.27 kB / 1.032 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5002, allocations: 0 / 1.032 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002878/0.5005, allocations: 12 kB / 1.032 GB, free: 9.578 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001311/0.5006, allocations: 99.19 kB / 1.032 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.5009, allocations: 39.97 kB / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5009, allocations: 4 kB / 1.032 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.939e-05/0.501, allocations: 19.94 kB / 1.032 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.5014, allocations: 16.69 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.5019, allocations: 174.2 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.5022, allocations: 0.6926 MB / 1.033 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.852e-05/0.5023, allocations: 4 kB / 1.033 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.5024, allocations: 7.438 kB / 1.033 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of SimCode: time 1.032e-06/0.5024, allocations: 0 / 1.033 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of Templates: time 0.003784/0.5062, allocations: 0.5869 MB / 1.033 GB, free: 7.883 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)