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.001947/0.001947, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002069/0.002069, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.569/1.569, 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 3.09/3.09, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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.595e-06/2.595e-06, allocations: 0 / 0.8108 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.23e-05, allocations: 3.078 kB / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002062/0.002094, allocations: 0.7061 MB / 0.8115 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.003554, allocations: 0.8864 MB / 0.8123 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.00361, allocations: 4 kB / 0.8123 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.003642, allocations: 5.531 kB / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.003763, allocations: 11.86 kB / 0.8123 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.004008, allocations: 23.97 kB / 0.8124 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.00416, allocations: 64.5 kB / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.004273, allocations: 15.92 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.004473, allocations: 44.94 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.004548, allocations: 19.97 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.004571, allocations: 5.375 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.61e-05/0.004617, allocations: 8 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.004643, allocations: 15.92 kB / 0.8125 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.004679, allocations: 15.94 kB / 0.8125 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.00487, allocations: 73.66 kB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.004873, allocations: 0 / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.482e-06/0.004875, allocations: 0 / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.00488, allocations: 0 / 0.8126 GB, free: 288 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.0006009/0.005481, allocations: 400 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.005525, allocations: 13.19 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.005689, allocations: 16.88 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.005962, allocations: 145.8 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.005977, allocations: 384 / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.005993, allocations: 8.375 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.00613, allocations: 50.25 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.006138, allocations: 1.781 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.006148, allocations: 384 / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.006151, allocations: 4.375 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.006255, allocations: 27.92 kB / 0.8132 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.006736, allocations: 297 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.007016, allocations: 67.56 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.816e-05/0.007075, allocations: 29.75 kB / 0.8136 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.007091, allocations: 0 / 0.8136 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.007134, allocations: 41.33 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.007135, allocations: 0 / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0003447/0.00748, allocations: 67.84 kB / 0.8137 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.00753, allocations: 59.39 kB / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.007941, allocations: 185.9 kB / 0.814 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.007966, allocations: 25.7 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.008076, allocations: 146.8 kB / 0.8141 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.008092, allocations: 3.953 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.008144, allocations: 27.88 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002746/0.008419, allocations: 0.4891 MB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.917e-05/0.008468, allocations: 12 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.344e-05/0.008562, allocations: 61.59 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.885e-05/0.008661, allocations: 37.27 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.008662, allocations: 3.938 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001453/0.008808, allocations: 65.58 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.008825, allocations: 8 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.008829, allocations: 0.5625 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.008842, allocations: 1.312 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.064e-05/0.008893, allocations: 4 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.008898, allocations: 0 / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.511e-05/0.008953, allocations: 12.98 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.008959, allocations: 0 / 0.8148 GB, free: 13.8 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.0001331/0.009092, allocations: 165.1 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.009127, allocations: 11.89 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.009161, allocations: 16.95 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.009163, allocations: 0 / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.00917, allocations: 4 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.009172, allocations: 0.8438 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.009358, allocations: 132.7 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.009359, allocations: 1.594 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.009399, allocations: 4 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.009401, allocations: 0 / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.009415, allocations: 7.922 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.009421, allocations: 4.938 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009422, allocations: 0 / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.009667, allocations: 202.1 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.009684, allocations: 8.312 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.009704, allocations: 3.938 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.009773, allocations: 4 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.009828, allocations: 15.92 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.009833, allocations: 0 / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001056/0.009938, allocations: 141.4 kB / 0.8155 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009938, allocations: 0 / 0.8155 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000219/0.01016, allocations: 12 kB / 0.8155 GB, free: 13.02 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.0001419/0.0103, allocations: 99.23 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.01055, allocations: 40.16 kB / 0.8157 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01055, allocations: 5.625 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.681e-05/0.01063, allocations: 27.62 kB / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.01089, allocations: 11.97 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.01129, allocations: 152 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.719e-05/0.01139, allocations: 79.05 kB / 0.8159 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.055e-05/0.01144, allocations: 5.094 kB / 0.8159 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.01148, allocations: 17.14 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.01148, allocations: 0.6562 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of Templates: time 0.00422/0.01571, allocations: 0.7658 MB / 0.8167 GB, free: 11.8 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 240] 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: 8.143664547940716]