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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 192.2 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.973/2.973, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002881/0.002881, allocations: 67.89 kB / 1.109 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138/1.14, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002579/1.143, allocations: 0.7029 MB / 1.275 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001458/1.144, allocations: 0.8468 MB / 1.276 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.548e-05/1.145, allocations: 0 / 1.276 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.6e-05/1.145, allocations: 7.875 kB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/1.145, allocations: 15.92 kB / 1.276 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/1.145, allocations: 19.86 kB / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/1.145, allocations: 63.78 kB / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/1.145, allocations: 15.94 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/1.145, allocations: 31.91 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/1.146, allocations: 19.92 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/1.146, allocations: 15.94 kB / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/1.146, allocations: 4 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/1.146, allocations: 11.98 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/1.146, allocations: 23.81 kB / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/1.146, allocations: 70.38 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/1.146, allocations: 4 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.276e-06/1.146, allocations: 0 / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.867e-06/1.146, allocations: 0 / 1.276 GB, free: 2.723 MB / 0.9669 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.000792/1.147, allocations: 363.3 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/1.147, allocations: 16.03 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/1.147, allocations: 4.891 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/1.147, allocations: 196.2 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/1.147, allocations: 8.375 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/1.147, allocations: 384 / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/1.148, allocations: 62.17 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/1.148, allocations: 192 / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/1.148, allocations: 3.938 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/1.148, allocations: 0 / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/1.148, allocations: 43.89 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007318/1.149, allocations: 288.8 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/1.149, allocations: 74.45 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/1.149, allocations: 20.92 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/1.149, allocations: 0 / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/1.149, allocations: 30.56 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/1.149, allocations: 0 / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003865/1.149, allocations: 73.7 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/1.15, allocations: 59.34 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/1.15, allocations: 125.8 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/1.15, allocations: 29.7 kB / 1.277 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/1.15, allocations: 96.08 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/1.15, allocations: 7.891 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/1.15, allocations: 17.72 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002505/1.15, allocations: 322.8 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.401e-05/1.15, allocations: 12 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.381e-05/1.15, allocations: 33.7 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.334e-05/1.15, allocations: 24.84 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.15, allocations: 0 / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000166/1.151, allocations: 81.5 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.151, allocations: 4 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/1.151, allocations: 0 / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/1.151, allocations: 0 / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/1.151, allocations: 11.98 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/1.151, allocations: 0 / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.204e-05/1.151, allocations: 8.031 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/1.151, allocations: 0 / 1.278 GB, free: 0.5117 MB / 0.9669 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 0.0001552/1.151, allocations: 122.3 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/1.151, allocations: 4.328 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/1.151, allocations: 3.906 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.151, allocations: 3.984 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.151, allocations: 0 / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/1.151, allocations: 7.938 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/1.151, allocations: 189.5 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.151, allocations: 0 / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-05/1.151, allocations: 4 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.151, allocations: 0 / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/1.151, allocations: 4 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.151, allocations: 0 / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.151, allocations: 3.984 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/1.152, allocations: 159.4 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/1.152, allocations: 85.05 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/1.152, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.122e-05/1.152, allocations: 8 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/1.152, allocations: 7.984 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/1.152, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.267e-05/1.152, allocations: 95.27 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.152, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002363/1.152, allocations: 12 kB / 1.278 GB, free: 15.72 MB / 0.9825 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.0001373/1.152, allocations: 103.2 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002055/1.153, allocations: 35.92 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.153, allocations: 0 / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.736e-05/1.153, allocations: 15.98 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/1.153, allocations: 9.812 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/1.153, allocations: 175.6 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/1.154, allocations: 0.6807 MB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.902e-05/1.154, allocations: 7.984 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/1.154, allocations: 11.44 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/1.154, allocations: 3.938 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of Templates: time 0.00396/1.158, allocations: 0.7255 MB / 1.28 GB, free: 13.9 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (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 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.421492414083332]