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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9272/0.9272, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.709/1.709, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.615e-06/2.615e-06, allocations: 0 / 0.9517 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/3.052e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001296/0.001326, allocations: 0.6934 MB / 0.9524 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008408/0.002167, allocations: 0.8743 MB / 0.9532 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.002219, allocations: 4 kB / 0.9532 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.002249, allocations: 3.938 kB / 0.9532 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.508e-05/0.002334, allocations: 15.86 kB / 0.9532 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.00254, allocations: 15.98 kB / 0.9532 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.391e-05/0.002623, allocations: 67.77 kB / 0.9533 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.00273, allocations: 11.94 kB / 0.9533 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.00288, allocations: 47.84 kB / 0.9534 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.00294, allocations: 27.89 kB / 0.9534 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.002956, allocations: 7.938 kB / 0.9534 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.967e-05/0.002996, allocations: 8 kB / 0.9534 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.003008, allocations: 4 kB / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.003032, allocations: 27.92 kB / 0.9534 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.00316, allocations: 71.77 kB / 0.9535 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003162, allocations: 0 / 0.9535 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003164, allocations: 0 / 0.9535 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.003167, allocations: 0 / 0.9535 GB, free: 1.156 MB / 0.9011 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.0003854/0.003553, allocations: 298 kB / 0.9538 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.003587, allocations: 8.031 kB / 0.9538 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.003708, allocations: 16.88 kB / 0.9538 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.003882, allocations: 141.6 kB / 0.954 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.003897, allocations: 8.375 kB / 0.954 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.003909, allocations: 12.31 kB / 0.954 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.004014, allocations: 54.23 kB / 0.954 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.004023, allocations: 192 / 0.954 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.004033, allocations: 384 / 0.954 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.004038, allocations: 4.375 kB / 0.954 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.364e-05/0.004102, allocations: 31.92 kB / 0.9541 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.004398, allocations: 220.5 kB / 0.9543 GB, free: 292 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.004579, allocations: 74.47 kB / 0.9543 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.004612, allocations: 25 kB / 0.9544 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.004627, allocations: 0 / 0.9544 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.004644, allocations: 38.5 kB / 0.9544 GB, free: 132 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.004645, allocations: 0 / 0.9544 GB, free: 132 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001808/0.004826, allocations: 77.56 kB / 0.9545 GB, free: 48 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.004867, allocations: 51.41 kB / 0.9545 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.004936, allocations: 133.7 kB / 0.9547 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.004948, allocations: 25.7 kB / 0.9547 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.004992, allocations: 92.09 kB / 0.9548 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.005007, allocations: 7.953 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.005036, allocations: 21.7 kB / 0.9548 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.274e-05/0.005109, allocations: 314.8 kB / 0.9551 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.59e-05/0.005145, allocations: 15.98 kB / 0.9551 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.926e-05/0.005194, allocations: 59.41 kB / 0.9552 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.937e-05/0.005244, allocations: 29.11 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005246, allocations: 4.031 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.578e-05/0.005332, allocations: 73.52 kB / 0.9553 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.005344, allocations: 4 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.005349, allocations: 3.984 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.00536, allocations: 0 / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.334e-05/0.005393, allocations: 4 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.005398, allocations: 3.938 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.005429, allocations: 15.92 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.005434, allocations: 0 / 0.9553 GB, free: 15.14 MB / 0.9167 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 6.629e-05/0.0055, allocations: 117.8 kB / 0.9554 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.005516, allocations: 7.938 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.005538, allocations: 8 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005539, allocations: 0 / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.005544, allocations: 0 / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.005547, allocations: 3.984 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.81e-05/0.005645, allocations: 121.4 kB / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.005646, allocations: 0 / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.005666, allocations: 4 kB / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.005667, allocations: 3.938 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.005676, allocations: 11.92 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.005677, allocations: 0 / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.005678, allocations: 0 / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.005786, allocations: 156.1 kB / 0.9557 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-06/0.005794, allocations: 7.953 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.005808, allocations: 3.938 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.614e-05/0.005844, allocations: 4 kB / 0.9557 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.005883, allocations: 19.91 kB / 0.9557 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.005885, allocations: 0 / 0.9557 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.776e-05/0.005923, allocations: 95.27 kB / 0.9558 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005923, allocations: 4 kB / 0.9558 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001471/0.00607, allocations: 8 kB / 0.9558 GB, free: 14.51 MB / 0.9167 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 7.83e-05/0.006148, allocations: 95.25 kB / 0.9559 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.006254, allocations: 35.92 kB / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006256, allocations: 0 / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.006283, allocations: 15.98 kB / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.006485, allocations: 8 kB / 0.956 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.006762, allocations: 186.3 kB / 0.9562 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.476e-05/0.006807, allocations: 67.33 kB / 0.9562 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.006835, allocations: 12.5 kB / 0.9563 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of SimCode: time 8.92e-07/0.006836, allocations: 0 / 0.9563 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of Templates: time 0.001796/0.008632, allocations: 0.8768 MB / 0.9571 GB, free: 13.16 MB / 0.9167 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.361574491485953]