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.009463/0.009463, allocations: 101.7 kB / 15.73 MB, free: 6.012 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.002099/0.002099, allocations: 195.2 kB / 16.67 MB, free: 5.949 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.853/2.853, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 59.91 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3918, allocations: 157.4 MB / 1.208 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002284/0.3942, allocations: 0.7028 MB / 1.208 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.3957, allocations: 0.8468 MB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.3958, allocations: 0 / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.19e-05/0.3958, allocations: 7.938 kB / 1.209 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.396, allocations: 7.875 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.3962, allocations: 19.98 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3963, allocations: 59.78 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.3965, allocations: 35.84 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.3966, allocations: 27.92 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.227e-05/0.3967, allocations: 27.86 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.3967, allocations: 4 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.3968, allocations: 8 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.3968, allocations: 19.91 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.292e-05/0.3969, allocations: 23.88 kB / 1.209 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.397, allocations: 59.78 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.397, allocations: 0 / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.397, allocations: 0 / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.397, allocations: 4 kB / 1.209 GB, free: 7.852 MB / 0.9669 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.0007083/0.3978, allocations: 375.2 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.3978, allocations: 8.625 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.3979, allocations: 8.844 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.3983, allocations: 200.1 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.3983, allocations: 384 / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.3983, allocations: 8.375 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.3985, allocations: 58.23 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3985, allocations: 192 / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.3986, allocations: 7.938 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3986, allocations: 0 / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.3987, allocations: 31.92 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.3993, allocations: 292.7 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.3996, allocations: 74.52 kB / 1.211 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.741e-05/0.3997, allocations: 16.92 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3997, allocations: 3.938 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.3997, allocations: 38.56 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.884e-06/0.3997, allocations: 0 / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003115/0.4001, allocations: 69.75 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.4001, allocations: 55.41 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.4002, allocations: 117.8 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.4003, allocations: 25.7 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.305e-05/0.4003, allocations: 100 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.4004, allocations: 3.906 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.4004, allocations: 17.72 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4006, allocations: 322.8 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.4006, allocations: 12 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.4007, allocations: 37.64 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.102e-05/0.4008, allocations: 33.11 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4008, allocations: 0 / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001434/0.401, allocations: 61.67 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.401, allocations: 4 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.401, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.401, allocations: 4 kB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.4011, allocations: 16.02 kB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.4011, allocations: 0 / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.4012, allocations: 19.72 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.4012, allocations: 7.922 kB / 1.211 GB, free: 5.629 MB / 0.9669 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.000104/0.4013, allocations: 121.8 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.4013, allocations: 4 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.4014, allocations: 7.906 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4014, allocations: 4 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4014, allocations: 4 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.4014, allocations: 0 / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.4016, allocations: 181.6 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4016, allocations: 0 / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.4017, allocations: 4 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4017, allocations: 4 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.4017, allocations: 0 / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4017, allocations: 0 / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4017, allocations: 0 / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.4019, allocations: 167.3 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.4019, allocations: 85 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.402, allocations: 4 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.402, allocations: 0 / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.4021, allocations: 11.98 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.4021, allocations: 4 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.567e-05/0.4022, allocations: 95.64 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.4022, allocations: 0 / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002155/0.4024, allocations: 12 kB / 1.212 GB, free: 4.832 MB / 0.9669 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.0001129/0.4025, allocations: 99.25 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.4027, allocations: 35.97 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4027, allocations: 0 / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.491e-05/0.4028, allocations: 15.92 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.4031, allocations: 13.5 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.4035, allocations: 163.6 kB / 1.212 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.4038, allocations: 0.6846 MB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.381e-05/0.4039, allocations: 4.266 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.4039, allocations: 11.44 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.4039, allocations: 3.938 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of Templates: time 0.003216/0.4072, allocations: 0.7309 MB / 1.214 GB, free: 3.02 MB / 0.9669 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