Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001477/0.001478, allocations: 105.7 kB / 16.36 MB, free: 6.309 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.001827/0.001827, allocations: 187.4 kB / 17.3 MB, free: 5.871 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.738/1.738, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.092/2.092, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.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.001685/0.001685, allocations: 72.45 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2984, allocations: 114.5 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002653/0.3012, allocations: 0.7167 MB / 0.7855 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3028, allocations: 0.8437 MB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.908e-05/0.3029, allocations: 0 / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.252e-05/0.303, allocations: 3.938 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.3032, allocations: 15.92 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.3034, allocations: 15.92 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.3035, allocations: 59.84 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.3037, allocations: 19.98 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.3039, allocations: 23.91 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.041e-05/0.304, allocations: 27.86 kB / 0.7865 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.304, allocations: 4 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.571e-05/0.304, allocations: 15.94 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.3041, allocations: 15.92 kB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.3041, allocations: 23.88 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.3043, allocations: 71.7 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3043, allocations: 0 / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3043, allocations: 0 / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3043, allocations: 0 / 0.7866 GB, free: 1.285 MB / 0.6544 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.0006356/0.3049, allocations: 370 kB / 0.7869 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.305, allocations: 8.031 kB / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.3051, allocations: 12.84 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.3054, allocations: 192.2 kB / 0.7871 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3054, allocations: 384 / 0.7871 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.3054, allocations: 8.375 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.3056, allocations: 62.16 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3056, allocations: 192 / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.3057, allocations: 7.938 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3057, allocations: 4 kB / 0.7872 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.3058, allocations: 35.97 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.3063, allocations: 284.8 kB / 0.7875 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.3066, allocations: 78.44 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.3067, allocations: 20.92 kB / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.3067, allocations: 0 / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.3068, allocations: 30.56 kB / 0.7877 GB, free: 32 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.3068, allocations: 0 / 0.7877 GB, free: 32 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.62/0.9268, allocations: 75.14 kB / 0.7877 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.9269, allocations: 53.94 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.927, allocations: 119.3 kB / 0.7879 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.9271, allocations: 27.77 kB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.9271, allocations: 95.55 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.9272, allocations: 11.8 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.9272, allocations: 21.22 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.9273, allocations: 318.3 kB / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.58e-05/0.9274, allocations: 16.42 kB / 0.7884 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.523e-05/0.9275, allocations: 30.42 kB / 0.7884 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.555e-05/0.9276, allocations: 36.06 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.9276, allocations: 0 / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001574/0.9278, allocations: 67.33 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.9278, allocations: 5.25 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.9278, allocations: 4.766 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.9278, allocations: 0 / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.9279, allocations: 5.859 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.9279, allocations: 2.625 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.928, allocations: 11.38 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.928, allocations: 0 / 0.7885 GB, free: 48.22 MB / 0.6544 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 6.925e-05/0.9281, allocations: 115.5 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.9281, allocations: 12.38 kB / 0.7886 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.9281, allocations: 11.45 kB / 0.7886 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.9282, allocations: 1 kB / 0.7886 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9282, allocations: 0 / 0.7886 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.9282, allocations: 82.97 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.9282, allocations: 1.812 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.9283, allocations: 5.25 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.9284, allocations: 8.703 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000157/0.9285, allocations: 143.4 kB / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001464/0.9287, allocations: 238.4 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.414e-05/0.9288, allocations: 14.69 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.55e-05/0.9288, allocations: 96.94 kB / 0.7892 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of Backend: time 6.91e-07/0.9288, allocations: 0 / 0.7892 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.9292, allocations: 100.3 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004496/0.9297, allocations: 0.5936 MB / 0.7899 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of Templates: time 0.003468/0.9331, allocations: 0.7231 MB / 0.7906 GB, free: 46.97 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)