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.001367/0.001367, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001859/0.001859, allocations: 161 kB / 23.82 MB, free: 0.7461 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 0.9964/0.9964, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.936/1.936, allocations: 377.8 MB / 0.6236 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 177] 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 3.246e-06/3.246e-06, allocations: 0.7656 kB / 0.8115 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.607e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002276/0.002312, allocations: 0.7123 MB / 0.8122 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.003615, allocations: 0.9068 MB / 0.8131 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.745e-05/0.003683, allocations: 4 kB / 0.8131 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.015e-05/0.003723, allocations: 4.594 kB / 0.8131 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.003842, allocations: 9.031 kB / 0.8131 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.004105, allocations: 23.92 kB / 0.8131 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.004231, allocations: 67.77 kB / 0.8132 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.004348, allocations: 17.23 kB / 0.8132 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.00458, allocations: 39.91 kB / 0.8132 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.004653, allocations: 23.91 kB / 0.8132 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.004675, allocations: 5.906 kB / 0.8132 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.356e-05/0.004728, allocations: 8 kB / 0.8133 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.004742, allocations: 7.938 kB / 0.8133 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.004778, allocations: 23.92 kB / 0.8133 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.004928, allocations: 43.83 kB / 0.8133 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.004931, allocations: 1.375 kB / 0.8133 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.673e-06/0.004933, allocations: 0 / 0.8133 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.004939, allocations: 0 / 0.8133 GB, free: 14.73 MB / 0.7292 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.0005093/0.005449, allocations: 393.6 kB / 0.8137 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.005497, allocations: 8.031 kB / 0.8137 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.005674, allocations: 16.88 kB / 0.8137 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.005865, allocations: 136.5 kB / 0.8139 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.005891, allocations: 5.719 kB / 0.8139 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.005906, allocations: 4.375 kB / 0.8139 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.006053, allocations: 66.88 kB / 0.8139 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.006063, allocations: 2.125 kB / 0.8139 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.006075, allocations: 384 / 0.8139 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.006085, allocations: 384 / 0.8139 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.724e-05/0.006132, allocations: 15.92 kB / 0.814 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.006551, allocations: 279.7 kB / 0.8142 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.006755, allocations: 61.12 kB / 0.8143 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.006783, allocations: 19.83 kB / 0.8143 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.006798, allocations: 3.984 kB / 0.8143 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.006827, allocations: 37.86 kB / 0.8143 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.006828, allocations: 0 / 0.8143 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001861/0.007014, allocations: 54.34 kB / 0.8144 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.007053, allocations: 51.41 kB / 0.8144 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.007166, allocations: 182.4 kB / 0.8146 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.007186, allocations: 31.3 kB / 0.8146 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.007254, allocations: 138.8 kB / 0.8148 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.007274, allocations: 3.953 kB / 0.8148 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.007318, allocations: 27.36 kB / 0.8148 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.007462, allocations: 0.4889 MB / 0.8153 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/0.007483, allocations: 0 / 0.8153 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.092e-05/0.007534, allocations: 54.38 kB / 0.8153 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.253e-05/0.007577, allocations: 19.69 kB / 0.8154 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007579, allocations: 0 / 0.8154 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.84e-05/0.007677, allocations: 62.67 kB / 0.8154 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.007694, allocations: 6.031 kB / 0.8154 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.007699, allocations: 0 / 0.8154 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.007715, allocations: 5 kB / 0.8154 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/0.007764, allocations: 7.984 kB / 0.8154 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.00777, allocations: 0 / 0.8154 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.648e-05/0.007806, allocations: 8.625 kB / 0.8154 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.007812, allocations: 1.031 kB / 0.8154 GB, free: 12.37 MB / 0.7292 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 8.386e-05/0.007896, allocations: 160.6 kB / 0.8156 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.007924, allocations: 8.734 kB / 0.8156 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.007952, allocations: 11.98 kB / 0.8156 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007954, allocations: 1.531 kB / 0.8156 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.007958, allocations: 0 / 0.8156 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.007961, allocations: 0 / 0.8156 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.008107, allocations: 128.7 kB / 0.8157 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.008109, allocations: 0 / 0.8157 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.008137, allocations: 8.984 kB / 0.8157 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.008141, allocations: 4 kB / 0.8157 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.00815, allocations: 9.938 kB / 0.8158 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.008152, allocations: 0 / 0.8158 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008153, allocations: 0 / 0.8158 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.008303, allocations: 187.9 kB / 0.8159 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.008317, allocations: 7.953 kB / 0.8159 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.008337, allocations: 11.88 kB / 0.816 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.767e-05/0.008395, allocations: 10.64 kB / 0.816 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.008456, allocations: 7.984 kB / 0.816 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.008459, allocations: 0 / 0.816 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.292e-05/0.008522, allocations: 135.2 kB / 0.8161 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.008522, allocations: 0 / 0.8161 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002287/0.008751, allocations: 8 kB / 0.8161 GB, free: 11.62 MB / 0.7292 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 9.561e-05/0.008847, allocations: 92.28 kB / 0.8162 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.008962, allocations: 36.94 kB / 0.8162 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008963, allocations: 0 / 0.8162 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.852e-05/0.008992, allocations: 15.69 kB / 0.8162 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.009261, allocations: 13.25 kB / 0.8163 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006349/0.009896, allocations: 171.8 kB / 0.8164 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.292e-05/0.009938, allocations: 62.69 kB / 0.8165 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.799e-05/0.009976, allocations: 7.906 kB / 0.8165 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.01001, allocations: 8.5 kB / 0.8165 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of SimCode: time 7.32e-07/0.01001, allocations: 4 kB / 0.8165 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of Templates: time 0.003081/0.01309, allocations: 0.7853 MB / 0.8173 GB, free: 10.4 MB / 0.7292 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","",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.184846783988178]