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.001555/0.001555, allocations: 114.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.002045/0.002045, allocations: 190.5 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.505/1.505, 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.806/2.806, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] 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.00218/0.00218, allocations: 71.89 kB / 1.109 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.955/0.9572, allocations: 168.7 MB / 1.274 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002174/0.9594, allocations: 0.6982 MB / 1.275 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.9606, allocations: 0.8546 MB / 1.276 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.9606, allocations: 0 / 1.276 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.9607, allocations: 3.938 kB / 1.276 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.9608, allocations: 7.875 kB / 1.276 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.961, allocations: 23.92 kB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.9611, allocations: 63.77 kB / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.9612, allocations: 19.94 kB / 1.276 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.9613, allocations: 27.92 kB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.936e-05/0.9614, allocations: 27.8 kB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.9615, allocations: 11.98 kB / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.9615, allocations: 4 kB / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.9615, allocations: 11.98 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.9615, allocations: 23.88 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.9617, allocations: 78.31 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9617, allocations: 0 / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9617, allocations: 0 / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.9617, allocations: 4 kB / 1.276 GB, free: 2.746 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.0005932/0.9623, allocations: 367.3 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.9623, allocations: 8.031 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.9624, allocations: 8.891 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.9627, allocations: 192.2 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.9627, allocations: 384 / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.9627, allocations: 8.375 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.9629, allocations: 58.23 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.9629, allocations: 4.172 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.9629, allocations: 3.938 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.963, allocations: 7.938 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.9631, allocations: 31.92 kB / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.9636, allocations: 288.8 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.9639, allocations: 78.45 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.485e-05/0.9639, allocations: 16.92 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.964, allocations: 0 / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.964, allocations: 34.56 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.964, allocations: 0 / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002728/0.9643, allocations: 73.7 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.9643, allocations: 55.41 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.9644, allocations: 121.8 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.9644, allocations: 29.7 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.9645, allocations: 100.1 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.9645, allocations: 11.89 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.9646, allocations: 21.66 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.9647, allocations: 318.8 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.9648, allocations: 12 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.048e-05/0.9649, allocations: 37.7 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.383e-05/0.9649, allocations: 24.84 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.9649, allocations: 0 / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001459/0.9651, allocations: 69.62 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.9651, allocations: 4 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.9651, allocations: 0 / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.9651, allocations: 0 / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.481e-05/0.9652, allocations: 15.86 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.9652, allocations: 4.031 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/0.9652, allocations: 8 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.9653, allocations: 0 / 1.278 GB, free: 0.5391 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.0001059/0.9654, allocations: 122.3 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.9654, allocations: 4 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.9654, allocations: 7.906 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.9654, allocations: 0 / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.9654, allocations: 3.938 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.9654, allocations: 4.328 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.9656, allocations: 185.5 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9656, allocations: 0 / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.9657, allocations: 4 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9657, allocations: 0 / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.9657, allocations: 0 / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.9657, allocations: 8 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9657, allocations: 3.984 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.9659, allocations: 163.4 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.966, allocations: 85.05 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.966, allocations: 0 / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.9661, allocations: 4 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.9661, allocations: 11.98 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.9661, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.223e-05/0.9662, allocations: 95.27 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9662, allocations: 0 / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002207/0.9664, allocations: 8 kB / 1.278 GB, free: 15.75 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.0001124/0.9665, allocations: 99.25 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.9667, allocations: 31.97 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9667, allocations: 0 / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.119e-05/0.9668, allocations: 23.92 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.9671, allocations: 13.81 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.9674, allocations: 171.5 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.9678, allocations: 0.6807 MB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.912e-05/0.9679, allocations: 7.984 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.9679, allocations: 11.44 kB / 1.279 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.9679, allocations: 0 / 1.279 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of Templates: time 0.003476/0.9714, allocations: 0.7213 MB / 1.28 GB, free: 13.93 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 cvode -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.022140490822494]