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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001726/0.001732, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001787/0.001788, allocations: 192.9 kB / 16.25 MB, free: 6.641 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.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 461.9 MB / 0.7343 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 62.69 kB / 0.8986 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3795, allocations: 157.4 MB / 1.052 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.003675/0.3833, allocations: 0.7443 MB / 1.053 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.385, allocations: 0.8507 MB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.129e-05/0.3851, allocations: 7.938 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.803e-05/0.3852, allocations: 0 / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.3854, allocations: 11.86 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.3857, allocations: 19.98 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.3858, allocations: 59.84 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.386, allocations: 19.98 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.3861, allocations: 19.94 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.3863, allocations: 35.83 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.3863, allocations: 8 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.961e-05/0.3863, allocations: 4 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.3864, allocations: 11.94 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.3864, allocations: 31.8 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.3866, allocations: 60.11 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.3866, allocations: 0 / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3866, allocations: 0 / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.3866, allocations: 0 / 1.054 GB, free: 6.883 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.0007158/0.3873, allocations: 379.1 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.3874, allocations: 8.625 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.3875, allocations: 8.875 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.3878, allocations: 192.2 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3879, allocations: 384 / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.3879, allocations: 4.375 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.3881, allocations: 66.16 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3881, allocations: 192 / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.3881, allocations: 11.94 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3881, allocations: 3.984 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.3882, allocations: 31.92 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.3888, allocations: 292.7 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.3891, allocations: 74.47 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.922e-05/0.3892, allocations: 21.5 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3892, allocations: 0 / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3892, allocations: 34.56 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.3892, allocations: 0 / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002657/0.3895, allocations: 77.58 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.3896, allocations: 55.39 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.3897, allocations: 121.8 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3897, allocations: 25.7 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.3898, allocations: 96.19 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.3898, allocations: 7.906 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.3898, allocations: 21.66 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.39, allocations: 326.8 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.141e-05/0.39, allocations: 12 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.3901, allocations: 29.7 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8e-05/0.3902, allocations: 28.84 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3902, allocations: 0 / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001323/0.3903, allocations: 65.58 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3903, allocations: 4 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3904, allocations: 7.969 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3904, allocations: 4 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.3904, allocations: 7.938 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3905, allocations: 3.984 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.702e-05/0.3905, allocations: 11.94 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.3905, allocations: 0 / 1.056 GB, free: 4.656 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 9.152e-05/0.3906, allocations: 119.3 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.3907, allocations: 11.89 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.3907, allocations: 11.91 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3907, allocations: 4 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3907, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3907, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.3909, allocations: 177.6 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3909, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.391, allocations: 8 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.391, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.391, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.391, allocations: 3.938 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.391, allocations: 0 / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.3912, allocations: 167.7 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.3912, allocations: 85 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.3913, allocations: 4 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.3914, allocations: 4 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.3914, allocations: 3.984 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.3914, allocations: 8 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.327e-05/0.3915, allocations: 95.27 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3916, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002206/0.3918, allocations: 8 kB / 1.057 GB, free: 3.863 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.0001215/0.3919, allocations: 95.25 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001901/0.3921, allocations: 35.97 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3921, allocations: 3.938 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.122e-05/0.3922, allocations: 15.98 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.3925, allocations: 15.94 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.3929, allocations: 179.6 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3932, allocations: 0.6807 MB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.552e-05/0.3933, allocations: 8 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.328e-05/0.3933, allocations: 15.42 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3933, allocations: 0 / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of Templates: time 0.00286/0.3962, allocations: 0.6494 MB / 1.058 GB, free: 2.121 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/jenkins/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