Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000769/0.000769, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001774, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007201/0.0007201, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008617/0.001582, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9502/0.9502, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09353/1.044, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.879/1.879, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5238/2.403, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.7293 GB, free: 4.574 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.666e-05, allocations: 6.797 kB / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002605/0.002632, allocations: 0.7464 MB / 0.73 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.003843, allocations: 0.9007 MB / 0.7309 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.003892, allocations: 0 / 0.7309 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.003927, allocations: 4.625 kB / 0.7309 GB, free: 2.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.235e-05/0.003999, allocations: 23.11 kB / 0.7309 GB, free: 2.914 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.004142, allocations: 23.86 kB / 0.7309 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.00426, allocations: 59.58 kB / 0.731 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.004365, allocations: 16.73 kB / 0.731 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.004588, allocations: 52.45 kB / 0.7311 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.004662, allocations: 21.11 kB / 0.7311 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.00468, allocations: 5.75 kB / 0.7311 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.31e-05/0.004754, allocations: 12 kB / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.004768, allocations: 4 kB / 0.7311 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.004793, allocations: 15.94 kB / 0.7311 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.004935, allocations: 44.22 kB / 0.7312 GB, free: 2.684 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.061e-05/0.004956, allocations: 4 kB / 0.7312 GB, free: 2.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.004958, allocations: 1.438 kB / 0.7312 GB, free: 2.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.992e-05/0.004978, allocations: 0 / 0.7312 GB, free: 2.68 MB / 0.698 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.0004686/0.005446, allocations: 268.5 kB / 0.7314 GB, free: 2.391 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.005486, allocations: 8.688 kB / 0.7314 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002783/0.005764, allocations: 98.7 kB / 0.7315 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.005932, allocations: 125.7 kB / 0.7316 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.005952, allocations: 2.094 kB / 0.7317 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.005963, allocations: 8.375 kB / 0.7317 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.006081, allocations: 58.94 kB / 0.7317 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.006091, allocations: 4.172 kB / 0.7317 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.0061, allocations: 12.31 kB / 0.7317 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.006106, allocations: 1.375 kB / 0.7317 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.439e-05/0.00614, allocations: 11.92 kB / 0.7317 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.00643, allocations: 169.1 kB / 0.7319 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.006598, allocations: 51.36 kB / 0.732 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.006614, allocations: 13.67 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.006627, allocations: 0 / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.006654, allocations: 35.31 kB / 0.732 GB, free: 1.723 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.006656, allocations: 0 / 0.732 GB, free: 1.723 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001354/0.006791, allocations: 46.28 kB / 0.732 GB, free: 1.672 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.006827, allocations: 51.41 kB / 0.7321 GB, free: 1.609 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.381e-05/0.006911, allocations: 128.6 kB / 0.7322 GB, free: 1.473 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.006931, allocations: 25.7 kB / 0.7322 GB, free: 1.441 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.006978, allocations: 92.08 kB / 0.7323 GB, free: 1.348 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.006999, allocations: 19.81 kB / 0.7323 GB, free: 1.328 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.00704, allocations: 13.72 kB / 0.7324 GB, free: 1.309 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.007137, allocations: 323.5 kB / 0.7327 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.774e-05/0.007154, allocations: 4.812 kB / 0.7327 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.687e-05/0.007201, allocations: 39.42 kB / 0.7327 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.007236, allocations: 17.97 kB / 0.7327 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.007239, allocations: 0 / 0.7327 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.561e-05/0.007314, allocations: 45.69 kB / 0.7328 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.007329, allocations: 4.719 kB / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.007336, allocations: 3.938 kB / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.007346, allocations: 0.5312 kB / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.007402, allocations: 11.92 kB / 0.7328 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.007407, allocations: 4.922 kB / 0.7328 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/0.00744, allocations: 4 kB / 0.7328 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.007447, allocations: 4.875 kB / 0.7328 GB, free: 0.8281 MB / 0.698 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 7.337e-05/0.00752, allocations: 107.6 kB / 0.7329 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.007546, allocations: 7.984 kB / 0.7329 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.007574, allocations: 11.94 kB / 0.7329 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.007575, allocations: 0 / 0.7329 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007577, allocations: 4 kB / 0.7329 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.00758, allocations: 1.375 kB / 0.7329 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.007715, allocations: 74.2 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.007717, allocations: 0 / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.007753, allocations: 7.938 kB / 0.733 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.007765, allocations: 4.766 kB / 0.733 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.00777, allocations: 11.97 kB / 0.733 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.007777, allocations: 4.906 kB / 0.733 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.00778, allocations: 3.938 kB / 0.733 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.007782, allocations: 0.8125 kB / 0.733 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.007898, allocations: 135.5 kB / 0.7332 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.007915, allocations: 0.625 kB / 0.7332 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.428e-05/0.007979, allocations: 8 kB / 0.7332 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.008022, allocations: 20.53 kB / 0.7332 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.008027, allocations: 1.156 kB / 0.7332 GB, free: 400 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001659/0.008193, allocations: 16.84 kB / 0.7332 GB, free: 380 kB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.008193, allocations: 0 / 0.7332 GB, free: 380 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002133/0.008406, allocations: 8 kB / 0.7332 GB, free: 372 kB / 0.698 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.0001071/0.008514, allocations: 77.94 kB / 0.7333 GB, free: 288 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.31e-05/0.008597, allocations: 20.8 kB / 0.7333 GB, free: 264 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.008605, allocations: 5.781 kB / 0.7333 GB, free: 260 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-05/0.008625, allocations: 16.84 kB / 0.7333 GB, free: 240 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.008835, allocations: 8.047 kB / 0.7333 GB, free: 236 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.00986, allocations: 175 kB / 0.7335 GB, free: 36 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.885e-05/0.009929, allocations: 51.36 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.229e-05/0.009971, allocations: 10.73 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/0.01004, allocations: 59.38 kB / 0.7336 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.463e-06/0.01004, allocations: 0 / 0.7336 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of Templates: time 0.003181/0.01322, allocations: 0.8048 MB / 0.7344 GB, free: 15.13 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.037414194084704]