Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.265/2.265, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001461, allocations: 187.5 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.571/2.571, allocations: 205.4 MB / 0.5766 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001613/0.001613, allocations: 94.34 kB / 0.6811 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000892/0.000892, allocations: 14.77 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2166, allocations: 106.3 MB / 0.8989 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3744/0.5911, allocations: 131.6 MB / 1.027 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/0.5915, allocations: 67.97 kB / 1.027 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005872/0.5974, allocations: 1.103 MB / 1.029 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.875e-06/0.5975, allocations: 0 / 1.029 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.5975, allocations: 4 kB / 1.029 GB, free: 12.49 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.000658/0.5982, allocations: 371 kB / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.5982, allocations: 8.031 kB / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.5983, allocations: 15.84 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.5985, allocations: 179 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.5986, allocations: 0 / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.5986, allocations: 7.984 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.5989, allocations: 65.66 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5989, allocations: 0 / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.599, allocations: 0 / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.599, allocations: 0 / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.5992, allocations: 35.98 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007376/0.6, allocations: 308.7 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.6007, allocations: 94.52 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.6007, allocations: 0 / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.6008, allocations: 34.5 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.6008, allocations: 0 / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005083/0.6013, allocations: 77.83 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.6014, allocations: 55.36 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.6016, allocations: 112.9 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.6016, allocations: 29.7 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.6018, allocations: 99.97 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.6019, allocations: 7.906 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.6019, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002423/0.6022, allocations: 318.8 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.6024, allocations: 20 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.6025, allocations: 29.7 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.6027, allocations: 19.92 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6027, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002712/0.603, allocations: 73.59 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.603, allocations: 8.031 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.6031, allocations: 0 / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.6031, allocations: 3.938 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/0.6032, allocations: 11.98 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6032, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.6033, allocations: 15.94 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.6034, allocations: 3.938 kB / 1.03 GB, free: 10.3 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.shaT.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.6035, allocations: 117.8 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.6035, allocations: 4 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.6036, allocations: 3.906 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.6036, allocations: 3.938 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6036, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.6036, allocations: 4 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.6039, allocations: 177.6 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.6039, allocations: 0 / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.316e-05/0.604, allocations: 12.31 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.604, allocations: 4 kB / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.604, allocations: 0 / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.604, allocations: 0 / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6041, allocations: 0 / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.6044, allocations: 168.2 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.6044, allocations: 81.02 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.6045, allocations: 8 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.6046, allocations: 11.98 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.6047, allocations: 7.984 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.6047, allocations: 4 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.439e-05/0.6048, allocations: 99.2 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6048, allocations: 0 / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002845/0.6051, allocations: 12 kB / 1.031 GB, free: 9.504 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 (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 (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.0001247/0.6052, allocations: 95.25 kB / 1.031 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.6055, allocations: 39.97 kB / 1.031 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6055, allocations: 0 / 1.031 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.6056, allocations: 16 kB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.6059, allocations: 15.94 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.6064, allocations: 188.5 kB / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.6067, allocations: 0.6887 MB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.085e-05/0.6067, allocations: 0 / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.6068, allocations: 15.42 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/0.6068, allocations: 4 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of Templates: time 0.00347/0.6103, allocations: 0.5728 MB / 1.033 GB, free: 7.809 MB / 0.6823 GB