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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001146/0.001145, allocations: 99.42 kB / 16.02 MB, free: 76 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.001629/0.00163, allocations: 187.2 kB / 16.92 MB, free: 6.75 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.414/1.414, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 437.8 MB / 0.7128 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003807, allocations: 8 kB / 0.8735 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.726/0.7264, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0009363/0.7273, allocations: 436.8 kB / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.7285, allocations: 0.8429 MB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.819e-05/0.7286, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.29e-05/0.7286, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.7288, allocations: 7.875 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.7289, allocations: 15.98 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.729, allocations: 63.78 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.7292, allocations: 23.97 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.7293, allocations: 23.92 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.639e-05/0.7294, allocations: 15.86 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.7294, allocations: 4 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.7294, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.7295, allocations: 15.97 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.712e-05/0.7295, allocations: 45.52 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.264e-05/0.7296, allocations: 53.86 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7297, allocations: 3.938 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7297, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.7297, allocations: 0 / 1.025 GB, free: 14.34 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.0004666/0.7301, allocations: 363.3 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.7302, allocations: 8.031 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.7302, allocations: 8.844 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.7305, allocations: 192.3 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.7306, allocations: 8.359 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.7306, allocations: 384 / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.7307, allocations: 62.22 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.7308, allocations: 192 / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.7308, allocations: 11.94 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.7308, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.7309, allocations: 43.91 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.7314, allocations: 296.8 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.7317, allocations: 86.47 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.7318, allocations: 16.92 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.7318, allocations: 8 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.7319, allocations: 34.64 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.7319, allocations: 0 / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002787/0.7321, allocations: 77.58 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.7322, allocations: 55.41 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.7323, allocations: 117.8 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.7323, allocations: 29.7 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.7324, allocations: 95.97 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.7324, allocations: 15.84 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.7325, allocations: 9.719 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.7326, allocations: 326.8 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.825e-05/0.7327, allocations: 12 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-05/0.7328, allocations: 37.64 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.363e-05/0.7329, allocations: 32.84 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7329, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001538/0.733, allocations: 69.67 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.7331, allocations: 4 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.7331, allocations: 4.031 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.7331, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.682e-05/0.7332, allocations: 15.92 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.7332, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.155e-05/0.7332, allocations: 8 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.7332, allocations: 0 / 1.027 GB, free: 12.1 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 0.0001057/0.7334, allocations: 125.8 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.7334, allocations: 7.906 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.7334, allocations: 7.906 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.7334, allocations: 336 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.7334, allocations: 4 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.7334, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.7337, allocations: 177.6 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.7337, allocations: 4 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.7337, allocations: 8 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.7337, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.7337, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7337, allocations: 7.984 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.7338, allocations: 3.984 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.734, allocations: 167.3 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.734, allocations: 77.11 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.734, allocations: 8 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.7341, allocations: 11.94 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.7342, allocations: 7.984 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.7342, allocations: 0 / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.003e-05/0.7342, allocations: 95.27 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7343, allocations: 0 / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002335/0.7345, allocations: 19.84 kB / 1.028 GB, free: 11.28 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 0.0001037/0.7346, allocations: 107.2 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.7348, allocations: 35.98 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7348, allocations: 0 / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.917e-05/0.7349, allocations: 23.92 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.7351, allocations: 7.938 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.7355, allocations: 206.5 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.7359, allocations: 0.6887 MB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.7359, allocations: 7.438 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of SimCode: time 6.81e-07/0.7359, allocations: 0 / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of Templates: time 0.002222/0.7381, allocations: 0.8444 MB / 1.03 GB, free: 9.301 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/jenkins1/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