Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001581/0.001581, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001536/0.001536, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.341/1.341, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.567/2.567, allocations: 469.8 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 69.45 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2939, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001939/0.2959, allocations: 0.7676 MB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.297, allocations: 0.8351 MB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.297, allocations: 4 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.2971, allocations: 3.938 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.854e-05/0.2972, allocations: 3.938 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.2973, allocations: 31.91 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.547e-05/0.2974, allocations: 59.84 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.2976, allocations: 16 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.2977, allocations: 31.84 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.091e-05/0.2977, allocations: 27.86 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.2978, allocations: 4 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.2978, allocations: 8 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.912e-05/0.2978, allocations: 11.92 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.2979, allocations: 27.86 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.875e-05/0.298, allocations: 44.19 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.298, allocations: 4 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.482e-06/0.298, allocations: 0 / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.298, allocations: 7.938 kB / 1.066 GB, free: 13.23 MB / 0.8419 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.0005105/0.2985, allocations: 367.2 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2985, allocations: 8.031 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.2986, allocations: 8.844 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.2989, allocations: 192.2 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.2989, allocations: 384 / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.2989, allocations: 12.38 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.2991, allocations: 62.17 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2991, allocations: 4.172 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.2991, allocations: 3.938 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2991, allocations: 0 / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.924e-05/0.2992, allocations: 27.98 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.2997, allocations: 300.8 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.3, allocations: 70.56 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.3, allocations: 20.91 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.3001, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3001, allocations: 38.56 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.3001, allocations: 0 / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002598/0.3004, allocations: 77.5 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.3004, allocations: 51.41 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.3005, allocations: 117.8 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.3005, allocations: 29.64 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.3006, allocations: 96.12 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.3006, allocations: 7.906 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.3007, allocations: 17.72 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3008, allocations: 326.8 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.3009, allocations: 12 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.876e-05/0.301, allocations: 25.7 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.196e-05/0.3011, allocations: 28.84 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3011, allocations: 4.031 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001378/0.3012, allocations: 69.52 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3013, allocations: 4 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3013, allocations: 4 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.3013, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.3013, allocations: 7.984 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.3014, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.712e-05/0.3014, allocations: 11.94 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3014, allocations: 4 kB / 1.068 GB, free: 11.03 MB / 0.8419 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.0001404/0.3016, allocations: 124 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.3016, allocations: 7.906 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.3016, allocations: 3.906 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.3017, allocations: 4 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3017, allocations: 3.938 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3017, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.3019, allocations: 177.9 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3019, allocations: 4 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.3019, allocations: 4 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3019, allocations: 7.938 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.302, allocations: 4 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.302, allocations: 0 / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.302, allocations: 0 / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.3022, allocations: 163.4 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.3022, allocations: 81.09 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.3022, allocations: 4 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.3023, allocations: 8 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.3024, allocations: 7.984 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3024, allocations: 7.938 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.517e-05/0.3024, allocations: 91.27 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3025, allocations: 0 / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002211/0.3027, allocations: 8 kB / 1.069 GB, free: 10.23 MB / 0.8419 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.0001068/0.3028, allocations: 99.25 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.303, allocations: 43.91 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.303, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.464e-05/0.303, allocations: 19.98 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.3033, allocations: 6.188 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.3037, allocations: 209.3 kB / 1.069 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.3041, allocations: 0.687 MB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.3041, allocations: 19.42 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3041, allocations: 0 / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of Templates: time 0.002304/0.3064, allocations: 0.844 MB / 1.07 GB, free: 8.258 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches