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.0009761/0.0009819, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001139/0.001139, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.9/2.9, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 7.531 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3744, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001088/0.3756, allocations: 415.3 kB / 1.058 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.3771, allocations: 0.843 MB / 1.059 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.3772, allocations: 0 / 1.059 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.3773, allocations: 3.938 kB / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.3774, allocations: 11.91 kB / 1.059 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.3776, allocations: 15.98 kB / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.3777, allocations: 51.8 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.3779, allocations: 19.98 kB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.378, allocations: 19.92 kB / 1.059 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.463e-05/0.3781, allocations: 27.84 kB / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.3781, allocations: 0 / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.57e-05/0.3781, allocations: 4 kB / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.3782, allocations: 4 kB / 1.059 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.3782, allocations: 37.64 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.3783, allocations: 47.88 kB / 1.059 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3783, allocations: 0 / 1.059 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.916e-06/0.3783, allocations: 0 / 1.059 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3783, allocations: 4 kB / 1.059 GB, free: 3.789 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.0006165/0.379, allocations: 359.4 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.379, allocations: 12.03 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.3791, allocations: 11.91 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.3795, allocations: 187 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.3795, allocations: 11.95 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.3795, allocations: 4 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.3797, allocations: 61.61 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3798, allocations: 0 / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3798, allocations: 0 / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.3798, allocations: 4 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.3799, allocations: 31.97 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.3805, allocations: 312.7 kB / 1.06 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.3808, allocations: 90.45 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.3808, allocations: 12.92 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.3809, allocations: 0 / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.3809, allocations: 42.5 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3809, allocations: 0 / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002991/0.3812, allocations: 81.66 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.3812, allocations: 55.34 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3814, allocations: 117.8 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.3814, allocations: 25.7 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.3815, allocations: 100.1 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.3815, allocations: 3.906 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-06/0.3815, allocations: 0 / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3816, allocations: 326.8 kB / 1.061 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.3817, allocations: 12 kB / 1.061 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.3818, allocations: 33.88 kB / 1.061 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.524e-05/0.3818, allocations: 20.02 kB / 1.061 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3818, allocations: 4 kB / 1.061 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001407/0.382, allocations: 65.59 kB / 1.061 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.382, allocations: 4 kB / 1.061 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.382, allocations: 3.938 kB / 1.061 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.382, allocations: 0 / 1.061 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.076e-05/0.3821, allocations: 11.98 kB / 1.061 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3821, allocations: 0 / 1.061 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.023e-05/0.3822, allocations: 19.92 kB / 1.061 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3822, allocations: 0 / 1.061 GB, free: 1.582 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 ($PRE.shaT.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.768e-05/0.3823, allocations: 117.8 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.3823, allocations: 7.906 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.3824, allocations: 7.906 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3824, allocations: 0 / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.3824, allocations: 4 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3824, allocations: 4 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.3826, allocations: 181.5 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3826, allocations: 0 / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.3826, allocations: 8 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3826, allocations: 0 / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3827, allocations: 3.984 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3827, allocations: 0 / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3827, allocations: 0 / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.3829, allocations: 167.4 kB / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.3829, allocations: 81.02 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.383, allocations: 4 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.383, allocations: 7.984 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.3831, allocations: 11.98 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.3831, allocations: 0 / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.037e-05/0.3832, allocations: 107.6 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3832, allocations: 3.938 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002113/0.3834, allocations: 4 kB / 1.062 GB, free: 0.7773 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000106/0.3835, allocations: 95.25 kB / 1.062 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.3837, allocations: 39.92 kB / 1.062 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3837, allocations: 0 / 1.062 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.339e-05/0.3838, allocations: 23.98 kB / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.3841, allocations: 16.64 kB / 1.062 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003848/0.3844, allocations: 180.6 kB / 1.062 GB, free: 400 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.3848, allocations: 0.6848 MB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.178e-05/0.3848, allocations: 16.28 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.3849, allocations: 7.438 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3849, allocations: 0 / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.003397/0.3883, allocations: 0.5849 MB / 1.064 GB, free: 15.07 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/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