Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.001548/0.001548, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.34/1.34, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 61.47 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.301, 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_H): time 0.001986/0.3031, allocations: 0.7581 MB / 1.065 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009735/0.304, allocations: 0.8429 MB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.3041, allocations: 4 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.3041, allocations: 3.938 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.979e-05/0.3042, allocations: 7.938 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.3044, allocations: 27.92 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.555e-05/0.3045, allocations: 51.84 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3046, allocations: 19.98 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.3047, allocations: 31.92 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.936e-05/0.3047, allocations: 23.84 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.3048, allocations: 8 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.3048, allocations: 4 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.3048, allocations: 19.92 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.3049, allocations: 27.8 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.172e-05/0.3049, allocations: 44.2 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.305, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.242e-06/0.305, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.305, allocations: 0 / 1.066 GB, free: 13.25 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.0004933/0.3055, allocations: 375.2 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.3055, allocations: 8.031 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.3055, allocations: 8.844 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.3058, allocations: 200.1 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3058, allocations: 384 / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.3058, allocations: 4.375 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.306, allocations: 58.23 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.306, allocations: 4.188 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.306, allocations: 3.938 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.306, allocations: 4 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.882e-05/0.3061, allocations: 31.97 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.3065, allocations: 288.8 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.3068, allocations: 74.52 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.3069, allocations: 20.91 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.3069, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.3069, allocations: 30.56 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3069, allocations: 0 / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002504/0.3072, allocations: 85.59 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.3072, allocations: 55.41 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.919e-05/0.3073, allocations: 117.8 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.3074, allocations: 29.7 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.3074, allocations: 92.12 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.3075, allocations: 7.906 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.3075, allocations: 17.72 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3076, allocations: 322.8 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.3077, allocations: 12 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.731e-05/0.3078, allocations: 33.7 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.444e-05/0.3079, allocations: 32.78 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3079, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001361/0.308, allocations: 69.58 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.308, allocations: 4 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.308, allocations: 4.031 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.3081, allocations: 0 / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.858e-05/0.3081, allocations: 7.984 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3081, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.832e-05/0.3082, allocations: 11.94 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.3082, allocations: 0 / 1.068 GB, free: 11.04 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 (shaH.hys.y,$PRE.shaH.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.18e-05/0.3083, allocations: 125.7 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.3083, allocations: 7.906 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.3084, allocations: 11.91 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3084, allocations: 3.938 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3084, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3084, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.3086, allocations: 181.6 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3086, allocations: 0 / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.3086, allocations: 4 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3086, allocations: 0 / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3086, allocations: 0 / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3087, allocations: 4 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3087, allocations: 7.984 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.3088, allocations: 151.4 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.3089, allocations: 85.47 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.3089, allocations: 0 / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.309, allocations: 7.938 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.3091, allocations: 11.98 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.3091, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.485e-05/0.3091, allocations: 103.2 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3091, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000222/0.3094, allocations: 8 kB / 1.069 GB, free: 10.24 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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 9.999e-05/0.3095, allocations: 99.23 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.3096, allocations: 39.97 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3096, allocations: 0 / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.724e-05/0.3097, allocations: 15.98 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.31, allocations: 11.94 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.3104, allocations: 209.4 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.3107, allocations: 0.6846 MB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.3107, allocations: 15.42 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3107, allocations: 0 / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of Templates: time 0.002168/0.3129, allocations: 0.8466 MB / 1.07 GB, free: 8.266 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches