Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_latest_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_latest_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.009102/0.009102, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.002452/0.002452, allocations: 196.6 kB / 16.79 MB, free: 5.809 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.465/1.465, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.852/2.852, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 64.56 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2977, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001993/0.2998, allocations: 0.758 MB / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009766/0.3008, allocations: 0.8468 MB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.3008, allocations: 0 / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.3009, allocations: 3.984 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.689e-05/0.301, allocations: 11.86 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.3011, allocations: 19.98 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.793e-05/0.3012, allocations: 51.86 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3013, allocations: 27.97 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/0.3014, allocations: 19.92 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.41e-05/0.3015, allocations: 23.86 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.3015, allocations: 0 / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.616e-05/0.3015, allocations: 4 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.3016, allocations: 11.92 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.114e-05/0.3016, allocations: 23.86 kB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.729e-05/0.3017, allocations: 44.19 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3017, allocations: 11.94 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.31e-07/0.3017, allocations: 0 / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.3017, allocations: 0 / 1.055 GB, free: 6.43 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.0005149/0.3023, allocations: 371.2 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.3023, allocations: 12.03 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.3024, allocations: 0.9375 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.3026, allocations: 192.2 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3026, allocations: 4.375 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.3027, allocations: 12.31 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.3028, allocations: 58.23 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3028, allocations: 192 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3029, allocations: 3.938 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3029, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.303, allocations: 35.91 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.3034, allocations: 300.7 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.3037, allocations: 62.59 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.3038, allocations: 24.88 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.3038, allocations: 4 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.3038, allocations: 38.56 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.424e-06/0.3038, allocations: 0 / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002436/0.3041, allocations: 73.66 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.3041, allocations: 51.41 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.024e-05/0.3042, allocations: 121.8 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3043, allocations: 25.7 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.3043, allocations: 92.14 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.3044, allocations: 7.906 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.3044, allocations: 21.7 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3045, allocations: 318.8 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.508e-05/0.3046, allocations: 19.92 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.3047, allocations: 33.73 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.381e-05/0.3048, allocations: 28.84 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3048, allocations: 4.031 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001361/0.3049, allocations: 65.58 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3049, allocations: 8 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3049, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.305, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.105e-05/0.305, allocations: 7.938 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.305, allocations: 0 / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.3051, allocations: 11.92 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3051, allocations: 8 kB / 1.056 GB, free: 4.219 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 (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.869e-05/0.3052, allocations: 117.8 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.3052, allocations: 7.906 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.3053, allocations: 11.91 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3053, allocations: 3.984 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3053, allocations: 0 / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3053, allocations: 0 / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.3055, allocations: 177.6 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3055, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.522e-05/0.3055, allocations: 7.984 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3056, allocations: 4 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.3056, allocations: 3.938 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3056, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3056, allocations: 3.938 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.3058, allocations: 159.4 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.3058, allocations: 81.02 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.3058, allocations: 4 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.3059, allocations: 11.98 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.306, allocations: 11.98 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.306, allocations: 0 / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.198e-05/0.306, allocations: 91.27 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.306, allocations: 0 / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002218/0.3063, allocations: 8 kB / 1.057 GB, free: 3.43 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 (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 0.0001037/0.3064, allocations: 95.25 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.3065, allocations: 39.97 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3066, allocations: 0 / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.533e-05/0.3066, allocations: 19.94 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3069, allocations: 15.52 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.3073, allocations: 195.9 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.3076, allocations: 0.6926 MB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.3076, allocations: 11.44 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.3076, allocations: 3.938 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of Templates: time 0.002269/0.3099, allocations: 0.8395 MB / 1.059 GB, free: 1.465 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches