Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001535/0.001535, allocations: 100.1 kB / 15.88 MB, free: 12 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.001764/0.001764, allocations: 196.7 kB / 16.79 MB, free: 6.828 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.401/1.401, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.737/2.737, allocations: 461.8 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 68.25 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3134, allocations: 157.4 MB / 1.053 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002178/0.3156, allocations: 0.7559 MB / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3167, allocations: 0.843 MB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.3168, allocations: 0 / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.664e-05/0.3169, allocations: 7.922 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.394e-05/0.317, allocations: 7.922 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.3172, allocations: 23.98 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.105e-05/0.3173, allocations: 55.8 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3174, allocations: 19.98 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3175, allocations: 27.84 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.3176, allocations: 23.86 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3176, allocations: 4 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.3176, allocations: 3.938 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.3177, allocations: 11.98 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.3177, allocations: 23.81 kB / 1.055 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.751e-05/0.3178, allocations: 48.17 kB / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3178, allocations: 0 / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.22e-07/0.3178, allocations: 0 / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.3178, allocations: 4 kB / 1.055 GB, free: 6.5 MB / 0.8106 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.0005168/0.3184, allocations: 375.2 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3184, allocations: 8.031 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.3185, allocations: 4.938 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.3187, allocations: 196.1 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.3187, allocations: 4.375 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.3188, allocations: 4.375 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3189, allocations: 58.23 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.3189, allocations: 192 / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.319, allocations: 3.938 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.319, allocations: 4 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.3191, allocations: 27.98 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.3195, allocations: 308.6 kB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.3198, allocations: 66.53 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.3199, allocations: 24.98 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.3199, allocations: 0 / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.3199, allocations: 30.56 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.3199, allocations: 4 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002579/0.3202, allocations: 73.52 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.3203, allocations: 51.41 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.99e-05/0.3204, allocations: 125.8 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.3204, allocations: 29.7 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.3204, allocations: 84.14 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.3205, allocations: 19.83 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.3205, allocations: 17.72 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3206, allocations: 318.8 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.351e-05/0.3207, allocations: 15.98 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.498e-05/0.3208, allocations: 29.7 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.084e-05/0.3209, allocations: 28.84 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.3209, allocations: 7.938 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001411/0.321, allocations: 73.61 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.321, allocations: 4 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3211, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3211, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.065e-05/0.3211, allocations: 4 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3211, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.3212, allocations: 19.86 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3212, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 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.0001006/0.3213, allocations: 121.8 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.3214, allocations: 7.906 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.3214, allocations: 11.89 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3214, allocations: 0 / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3214, allocations: 0 / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.3214, allocations: 0 / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.3216, allocations: 173.6 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3216, allocations: 0 / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.3217, allocations: 11.92 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3217, allocations: 0 / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.3217, allocations: 0 / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3217, allocations: 8 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3217, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.3219, allocations: 151.5 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.3219, allocations: 85.39 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.322, allocations: 4 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.3221, allocations: 7.984 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.3221, allocations: 7.984 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3221, allocations: 4 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.996e-05/0.3222, allocations: 99.2 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3222, allocations: 0 / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002228/0.3224, allocations: 12 kB / 1.057 GB, free: 3.496 MB / 0.8106 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.0001148/0.3225, allocations: 99.17 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.3227, allocations: 35.97 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3227, allocations: 4 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.155e-05/0.3228, allocations: 16 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.3231, allocations: 11.92 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.3235, allocations: 194.4 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.3238, allocations: 0.6926 MB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.3239, allocations: 15.44 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of SimCode: time 6.11e-07/0.3239, allocations: 0 / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of Templates: time 0.002345/0.3262, allocations: 0.8367 MB / 1.059 GB, free: 1.535 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches