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.001975/0.001975, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002179/0.002179, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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 1.501/1.501, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.082/3.082, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.665e-06/2.665e-06, allocations: 0 / 0.8107 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.46e-05/3.726e-05, allocations: 8.641 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001999/0.002036, allocations: 0.7009 MB / 0.8114 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.003431, allocations: 0.8798 MB / 0.8123 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.003482, allocations: 0 / 0.8123 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.96e-05/0.003521, allocations: 3.938 kB / 0.8123 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.003636, allocations: 20.73 kB / 0.8123 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.003856, allocations: 16.61 kB / 0.8123 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.003977, allocations: 67.77 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.004084, allocations: 9.406 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.004267, allocations: 47.83 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.004341, allocations: 11.98 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.004364, allocations: 13.22 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.242e-05/0.004416, allocations: 15.98 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.004433, allocations: 7.938 kB / 0.8125 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.004479, allocations: 24.66 kB / 0.8125 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.004648, allocations: 63.78 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.004652, allocations: 0.9062 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004654, allocations: 0 / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.004659, allocations: 0 / 0.8126 GB, free: 276 kB / 0.7605 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.0006096/0.005269, allocations: 295.5 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.005312, allocations: 8.031 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.00551, allocations: 26.12 kB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.005814, allocations: 141.6 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.005832, allocations: 384 / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.00585, allocations: 10.41 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.006019, allocations: 54.25 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.006028, allocations: 4.188 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.006045, allocations: 4.359 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.00605, allocations: 384 / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.006174, allocations: 32.8 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.006695, allocations: 234 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.007029, allocations: 75.42 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.417e-05/0.007093, allocations: 16.92 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.007115, allocations: 0.8438 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.007156, allocations: 38.48 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.007157, allocations: 0.6562 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0003159/0.007473, allocations: 78.14 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.007525, allocations: 52.16 kB / 0.8136 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.007674, allocations: 117.8 kB / 0.8137 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.007702, allocations: 26.64 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.856e-05/0.007791, allocations: 96.08 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.007813, allocations: 8.484 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.007864, allocations: 21.7 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.008062, allocations: 316.2 kB / 0.8142 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.008125, allocations: 15.98 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.61e-05/0.008221, allocations: 55.41 kB / 0.8142 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.008322, allocations: 30.12 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008324, allocations: 0 / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001757/0.0085, allocations: 70.14 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.008518, allocations: 8.75 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.008524, allocations: 0 / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.008548, allocations: 1.562 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.008603, allocations: 11.92 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.008609, allocations: 0 / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.008676, allocations: 11.98 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.008686, allocations: 4.562 kB / 0.8144 GB, free: 14.27 MB / 0.7761 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.0001151/0.008801, allocations: 111.7 kB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.00884, allocations: 15.89 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.008865, allocations: 4 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.008866, allocations: 0 / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.008871, allocations: 0 / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.008874, allocations: 0.875 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.009048, allocations: 125.4 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.009049, allocations: 3.469 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.009098, allocations: 7.938 kB / 0.8146 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.0091, allocations: 0 / 0.8146 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.009114, allocations: 7.938 kB / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.009117, allocations: 3.984 kB / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.009121, allocations: 4 kB / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.009347, allocations: 151.9 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.009367, allocations: 11.92 kB / 0.8148 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.009393, allocations: 8.562 kB / 0.8148 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.009476, allocations: 8 kB / 0.8148 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.009528, allocations: 4.484 kB / 0.8148 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.009538, allocations: 9.703 kB / 0.8148 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.333e-05/0.009611, allocations: 87.28 kB / 0.8149 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009611, allocations: 0 / 0.8149 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002385/0.009849, allocations: 12 kB / 0.8149 GB, free: 13.66 MB / 0.7761 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.0001397/0.009989, allocations: 104.2 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.01015, allocations: 29.55 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.01016, allocations: 4 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.01022, allocations: 15.98 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.01056, allocations: 4.531 kB / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.01097, allocations: 153.3 kB / 0.8152 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.828e-05/0.01106, allocations: 79.92 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.132e-05/0.0111, allocations: 9.281 kB / 0.8153 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.01114, allocations: 13.12 kB / 0.8153 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of SimCode: time 3.21e-07/0.01114, allocations: 1.938 kB / 0.8153 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.003746/0.01489, allocations: 0.7616 MB / 0.8161 GB, free: 12.48 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.9487174729583785]