Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002505/0.002505, allocations: 194.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.631/1.631, allocations: 251.7 MB / 0.5092 GB, free: 3.125 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.91 kB / 0.6223 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.74/0.7419, allocations: 104.7 MB / 0.7245 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.003158/0.7451, allocations: 1.41 MB / 0.7259 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004927/0.7457, allocations: 168.3 kB / 0.726 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.7457, allocations: 4 kB / 0.7261 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.166e-05/0.7458, allocations: 3.938 kB / 0.7261 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.7459, allocations: 7.922 kB / 0.7261 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.7461, allocations: 23.91 kB / 0.7261 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.7462, allocations: 63.8 kB / 0.7261 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.7464, allocations: 19.98 kB / 0.7262 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.7465, allocations: 27.91 kB / 0.7262 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.7466, allocations: 27.8 kB / 0.7262 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.7467, allocations: 4 kB / 0.7262 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/0.7467, allocations: 11.94 kB / 0.7262 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.7467, allocations: 15.98 kB / 0.7263 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.7468, allocations: 27.81 kB / 0.7263 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.7469, allocations: 65.94 kB / 0.7263 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.7469, allocations: 0 / 0.7263 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7469, allocations: 0 / 0.7263 GB, free: 11.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.7469, allocations: 0 / 0.7263 GB, free: 11.2 MB / 0.545 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.0006271/0.7476, allocations: 375.1 kB / 0.7267 GB, free: 10.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.7476, allocations: 8.031 kB / 0.7267 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.7477, allocations: 4.938 kB / 0.7267 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.748, allocations: 192.3 kB / 0.7269 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.7481, allocations: 384 / 0.7269 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.7481, allocations: 4.375 kB / 0.7269 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.7483, allocations: 66.16 kB / 0.727 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.7483, allocations: 4.125 kB / 0.727 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.7483, allocations: 3.938 kB / 0.727 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.7483, allocations: 7.984 kB / 0.727 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.7485, allocations: 35.95 kB / 0.727 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.749, allocations: 296.7 kB / 0.7273 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.7493, allocations: 74.45 kB / 0.7274 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.763e-05/0.7494, allocations: 20.92 kB / 0.7274 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.7494, allocations: 0 / 0.7274 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.7495, allocations: 30.66 kB / 0.7274 GB, free: 9.938 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.7495, allocations: 0 / 0.7274 GB, free: 9.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002857/0.7497, allocations: 81.5 kB / 0.7275 GB, free: 9.852 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.7498, allocations: 55.41 kB / 0.7275 GB, free: 9.785 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.7499, allocations: 121.8 kB / 0.7277 GB, free: 9.656 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.75, allocations: 29.7 kB / 0.7277 GB, free: 9.621 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.75, allocations: 92.12 kB / 0.7278 GB, free: 9.527 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.7501, allocations: 7.906 kB / 0.7278 GB, free: 9.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.7501, allocations: 17.72 kB / 0.7278 GB, free: 9.496 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7503, allocations: 318.8 kB / 0.7281 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.727e-05/0.7503, allocations: 15.98 kB / 0.7281 GB, free: 9.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-05/0.7504, allocations: 29.72 kB / 0.7281 GB, free: 9.125 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.747e-05/0.7505, allocations: 28.88 kB / 0.7282 GB, free: 9.094 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7505, allocations: 0 / 0.7282 GB, free: 9.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001432/0.7507, allocations: 73.52 kB / 0.7282 GB, free: 9.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.7507, allocations: 4 kB / 0.7283 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.7507, allocations: 0 / 0.7283 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.7507, allocations: 0 / 0.7283 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.152e-05/0.7508, allocations: 7.984 kB / 0.7283 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.7508, allocations: 8 kB / 0.7283 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.655e-05/0.7509, allocations: 11.94 kB / 0.7283 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.7509, allocations: 3.984 kB / 0.7283 GB, free: 8.98 MB / 0.545 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 (shaT.hys.y,$PRE.shaT.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.0001003/0.751, allocations: 117.8 kB / 0.7284 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.751, allocations: 7.906 kB / 0.7284 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.7511, allocations: 11.84 kB / 0.7284 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.7511, allocations: 0 / 0.7284 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.7511, allocations: 0 / 0.7284 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.7511, allocations: 4 kB / 0.7284 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.7513, allocations: 181.6 kB / 0.7286 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7513, allocations: 0 / 0.7286 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.7514, allocations: 4 kB / 0.7286 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7514, allocations: 0 / 0.7286 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.7514, allocations: 7.984 kB / 0.7286 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7514, allocations: 0 / 0.7286 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.7514, allocations: 336 / 0.7286 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.7516, allocations: 163.4 kB / 0.7288 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.7517, allocations: 85.02 kB / 0.7288 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.7517, allocations: 0 / 0.7288 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.84e-05/0.7518, allocations: 4 kB / 0.7288 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.7518, allocations: 11.98 kB / 0.7289 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.7519, allocations: 0 / 0.7289 GB, free: 8.293 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001099/0.752, allocations: 95.27 kB / 0.7289 GB, free: 8.199 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.752, allocations: 0 / 0.7289 GB, free: 8.199 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002198/0.7522, allocations: 11.94 kB / 0.729 GB, free: 8.188 MB / 0.545 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.0001395/0.7523, allocations: 103.2 kB / 0.7291 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.7526, allocations: 39.92 kB / 0.7291 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7526, allocations: 0 / 0.7291 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.142e-05/0.7526, allocations: 11.98 kB / 0.7291 GB, free: 8.027 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.753, allocations: 12.7 kB / 0.7291 GB, free: 8.016 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.7534, allocations: 163.5 kB / 0.7293 GB, free: 7.832 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.7538, allocations: 0.6922 MB / 0.7299 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.752e-05/0.7538, allocations: 3.984 kB / 0.73 GB, free: 7.109 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.7539, allocations: 11.44 kB / 0.73 GB, free: 7.098 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.7539, allocations: 4 kB / 0.73 GB, free: 7.094 MB / 0.545 GB Notification: Performance of Templates: time 0.003431/0.7573, allocations: 0.7001 MB / 0.7306 GB, free: 6.398 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)