Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_10_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.001014/0.001014, allocations: 90.52 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.008395/0.008396, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.759/2.759, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.0004441, allocations: 8 kB / 0.8728 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7671/0.7676, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001017/0.7686, allocations: 440.6 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.7699, allocations: 0.8351 MB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.7699, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.77, allocations: 4 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.7701, allocations: 7.875 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.7703, allocations: 15.98 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.7704, allocations: 63.77 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.7706, allocations: 19.98 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.7707, allocations: 23.92 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/0.7708, allocations: 23.86 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.7708, allocations: 4 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.7708, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.7709, allocations: 7.969 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.059e-05/0.7709, allocations: 45.58 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.7711, allocations: 65.67 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7711, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7711, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7711, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.7794 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.0005331/0.7716, allocations: 363.3 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.7717, allocations: 8.031 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.7717, allocations: 8.844 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.772, allocations: 200.2 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.7721, allocations: 8.359 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.7721, allocations: 4.375 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.7722, allocations: 54.25 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7723, allocations: 192 / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.7723, allocations: 11.86 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.7723, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.7724, allocations: 39.92 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.7729, allocations: 296.8 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.7733, allocations: 86.47 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.569e-05/0.7734, allocations: 29 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.7734, allocations: 3.938 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.7734, allocations: 30.56 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.7734, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002965/0.7737, allocations: 77.58 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.7738, allocations: 51.41 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.7739, allocations: 121.8 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.7739, allocations: 33.69 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.774, allocations: 95.98 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.774, allocations: 3.906 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.7741, allocations: 17.72 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.7742, allocations: 322.7 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.7742, allocations: 15.98 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-05/0.7743, allocations: 33.72 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.699e-05/0.7744, allocations: 36.83 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7744, allocations: 0 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001464/0.7746, allocations: 61.69 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.7746, allocations: 4 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.7746, allocations: 8.031 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7746, allocations: 336 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.102e-05/0.7747, allocations: 11.92 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.7747, allocations: 3.984 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.7748, allocations: 11.98 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.7748, allocations: 8 kB / 1.026 GB, free: 12.07 MB / 0.7794 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 9.037e-05/0.7749, allocations: 125.8 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.7749, allocations: 3.906 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.775, allocations: 11.91 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.775, allocations: 3.938 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.775, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.775, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.7752, allocations: 181.6 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7752, allocations: 4 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.7752, allocations: 4 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7752, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.7752, allocations: 7.984 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7752, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7752, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.7754, allocations: 167.3 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.7755, allocations: 81.11 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.7755, allocations: 0 / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.7756, allocations: 8 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.7756, allocations: 7.984 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.7756, allocations: 7.984 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.736e-05/0.7757, allocations: 99.59 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.9e-07/0.7757, allocations: 0 / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002203/0.7759, allocations: 19.83 kB / 1.027 GB, free: 11.26 MB / 0.7794 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 9.464e-05/0.776, allocations: 95.25 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.7762, allocations: 39.98 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7762, allocations: 0 / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.127e-05/0.7763, allocations: 23.92 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.7766, allocations: 11.94 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.777, allocations: 180.7 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.7772, allocations: 0.6887 MB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.027e-05/0.7773, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.7773, allocations: 15.42 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.7773, allocations: 4 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of Templates: time 0.002911/0.7802, allocations: 0.5976 MB / 1.029 GB, free: 9.547 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches