Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.001899/0.001899, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001745/0.001745, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.488/1.488, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.941/2.941, allocations: 377.8 MB / 0.6232 GB, free: 8.531 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.14e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001852/0.001884, allocations: 0.7034 MB / 0.8114 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.003192, allocations: 0.8743 MB / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.003235, allocations: 4.844 kB / 0.8123 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.003266, allocations: 3.938 kB / 0.8123 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.579e-05/0.003362, allocations: 12.44 kB / 0.8123 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.003555, allocations: 16.67 kB / 0.8123 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.003669, allocations: 68.67 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.003771, allocations: 19.86 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.003943, allocations: 43.89 kB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 8.433e-05/0.004027, allocations: 20.58 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.004049, allocations: 4.875 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.572e-05/0.004095, allocations: 12 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.004117, allocations: 17.14 kB / 0.8125 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.004155, allocations: 15.98 kB / 0.8125 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.00431, allocations: 67.77 kB / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.004312, allocations: 0 / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.91e-07/0.004313, allocations: 5.438 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.004316, 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.000538/0.004854, allocations: 290.1 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.004898, allocations: 13.56 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.005082, allocations: 16.88 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.005347, allocations: 145.6 kB / 0.813 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.005365, allocations: 5.75 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.005382, allocations: 8.375 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.005535, allocations: 54.23 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.005543, allocations: 0.7812 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.005554, allocations: 1.5 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.005561, allocations: 8.312 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.005678, allocations: 31.92 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.006129, allocations: 233.2 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.006428, allocations: 64.53 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.945e-05/0.006488, allocations: 21 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.006505, allocations: 1.094 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.006541, allocations: 38.5 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.864e-06/0.006543, allocations: 0.75 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002829/0.006826, allocations: 74.52 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.006873, allocations: 51.41 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.007, allocations: 123.1 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.007026, allocations: 29.7 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/0.007101, allocations: 92.09 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.007122, allocations: 11.94 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.007165, allocations: 19.59 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.007337, allocations: 314.8 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.0074, allocations: 12 kB / 0.8142 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-05/0.007498, allocations: 63.39 kB / 0.8142 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.333e-05/0.007591, allocations: 32.22 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007593, allocations: 0 / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001769/0.00777, allocations: 73.56 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.007784, allocations: 4 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.00779, allocations: 4 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.007806, allocations: 0 / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.012e-05/0.007857, allocations: 4 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.007861, allocations: 0 / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/0.007926, allocations: 12.67 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.00794, allocations: 12.5 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 (shaT.hys.y,$PRE.shaT.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.0001042/0.008044, allocations: 114.3 kB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.00808, allocations: 12.45 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.008107, allocations: 13.33 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.008109, allocations: 0 / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.008112, allocations: 3.938 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.008114, allocations: 0 / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.008278, allocations: 118 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.00828, allocations: 4 kB / 0.8146 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.777e-05/0.008327, allocations: 8.609 kB / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.008329, allocations: 1.969 kB / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.008339, allocations: 3.938 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.00834, allocations: 0 / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.008341, allocations: 0 / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.008554, allocations: 151.5 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.008569, allocations: 8.484 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.008591, allocations: 8.75 kB / 0.8148 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.008687, allocations: 11.92 kB / 0.8148 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.008738, allocations: 8.922 kB / 0.8148 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.008742, allocations: 0 / 0.8148 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.697e-05/0.008819, allocations: 95.27 kB / 0.8149 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.008819, allocations: 1.344 kB / 0.8149 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002343/0.009054, 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.0001215/0.009175, allocations: 92.22 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.009343, allocations: 38.28 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.009344, allocations: 0 / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.8e-05/0.009402, allocations: 19.94 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.0002947/0.009697, allocations: 9.672 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.0003773/0.01007, allocations: 149.8 kB / 0.8152 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.186e-05/0.01016, allocations: 72.09 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.172e-05/0.0102, allocations: 9.109 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.01024, allocations: 20.48 kB / 0.8153 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of SimCode: time 5.92e-07/0.01024, allocations: 1.031 kB / 0.8153 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.003719/0.01396, allocations: 0.7647 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_T.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.828291764948517]