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.0008639/0.0008637, allocations: 99.58 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.001236/0.001236, allocations: 182 kB / 16.92 MB, free: 6.918 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.735/2.735, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004259, allocations: 8.938 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4098, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001037/0.4109, allocations: 443 kB / 1.06 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.4121, allocations: 0.8351 MB / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.234e-05/0.4122, allocations: 4 kB / 1.061 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.4123, allocations: 3.938 kB / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.917e-05/0.4124, allocations: 3.938 kB / 1.061 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.4126, allocations: 23.98 kB / 1.061 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.4127, allocations: 59.78 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.4128, allocations: 15.98 kB / 1.061 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.4129, allocations: 23.92 kB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.413, allocations: 27.73 kB / 1.061 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.4131, allocations: 7.984 kB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.4131, allocations: 0 / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.4131, allocations: 8 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.4132, allocations: 53.5 kB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.479e-05/0.4133, allocations: 40.19 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4133, allocations: 0 / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4133, allocations: 0 / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.4133, allocations: 0 / 1.061 GB, free: 3.426 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.0004865/0.4138, allocations: 363.3 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4138, allocations: 12.03 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.4139, allocations: 12.84 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.4142, allocations: 196.2 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.4142, allocations: 4.375 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.4142, allocations: 4.375 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.4144, allocations: 62.17 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.4144, allocations: 192 / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.4144, allocations: 3.938 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4144, allocations: 8 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.4145, allocations: 31.98 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.415, allocations: 300.7 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.4153, allocations: 86.47 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.4154, allocations: 21 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.4154, allocations: 0 / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.4155, allocations: 38.56 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.4155, allocations: 0 / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002704/0.4157, allocations: 69.67 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.4158, allocations: 59.34 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.706e-05/0.4159, allocations: 121.8 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.4159, allocations: 29.7 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.416, allocations: 92.05 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.416, allocations: 11.89 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.416, allocations: 13.66 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4162, allocations: 318.8 kB / 1.063 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.918e-05/0.4162, allocations: 23.98 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.4163, allocations: 29.7 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.182e-05/0.4164, allocations: 33.12 kB / 1.063 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4164, allocations: 0 / 1.063 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001511/0.4166, allocations: 77.62 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.4166, allocations: 8 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4166, allocations: 0 / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.4166, allocations: 0 / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.233e-05/0.4167, allocations: 11.94 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4167, allocations: 3.984 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.814e-05/0.4168, allocations: 19.83 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.4168, allocations: 0 / 1.063 GB, free: 1.168 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.791e-05/0.4169, allocations: 121.8 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.4169, allocations: 4 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.417, allocations: 11.89 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.417, allocations: 0 / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.417, allocations: 4 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.417, allocations: 0 / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.4172, allocations: 177.7 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4172, allocations: 0 / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.4172, allocations: 7.984 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.4172, allocations: 8 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.4173, allocations: 4 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4173, allocations: 0 / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4173, allocations: 0 / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.4175, allocations: 167.3 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.4175, allocations: 81.02 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.4175, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.4176, allocations: 15.98 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.4177, allocations: 7.984 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.4177, allocations: 0 / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.911e-05/0.4178, allocations: 103.2 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4178, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002229/0.418, allocations: 4 kB / 1.063 GB, free: 376 kB / 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.0001025/0.4181, allocations: 99.25 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.4183, allocations: 43.91 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4183, allocations: 0 / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.919e-05/0.4184, allocations: 16 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.4187, allocations: 17.48 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.4191, allocations: 206.5 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.4193, allocations: 0.6809 MB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.4194, allocations: 15.42 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of SimCode: time 4.3e-07/0.4194, allocations: 0 / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.002291/0.4217, allocations: 0.8391 MB / 1.065 GB, free: 14.39 MB / 0.8262 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