Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009968/0.0009968, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001384/0.001384, allocations: 173 kB / 23.28 MB, free: 1.219 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.9612/0.9612, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.445/2.445, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.8e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001188/0.001206, allocations: 0.7128 MB / 0.8904 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009018/0.002108, allocations: 0.9014 MB / 0.8913 GB, free: 8.168 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.00215, allocations: 4 kB / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.002179, allocations: 3.938 kB / 0.8913 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.442e-05/0.002263, allocations: 11.86 kB / 0.8913 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.002449, allocations: 23.92 kB / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.798e-05/0.002526, allocations: 59.78 kB / 0.8914 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.002622, allocations: 19.97 kB / 0.8914 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.002782, allocations: 43.84 kB / 0.8914 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.216e-05/0.002834, allocations: 19.92 kB / 0.8914 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.002852, allocations: 8 kB / 0.8915 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.492e-05/0.002897, allocations: 11.98 kB / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.00291, allocations: 4 kB / 0.8915 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.002933, allocations: 19.92 kB / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.003046, allocations: 43.83 kB / 0.8915 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003048, allocations: 0 / 0.8915 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003048, allocations: 0 / 0.8915 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.706e-06/0.003052, allocations: 0 / 0.8915 GB, free: 7.898 MB / 0.8542 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.0003519/0.003404, allocations: 400.3 kB / 0.8919 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.003441, allocations: 8.625 kB / 0.8919 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.003548, allocations: 28.8 kB / 0.8919 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.003669, allocations: 132.5 kB / 0.8921 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.003682, allocations: 384 / 0.8921 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.00369, allocations: 8.375 kB / 0.8921 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.263e-05/0.003773, allocations: 62.91 kB / 0.8921 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.003778, allocations: 192 / 0.8921 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.003785, allocations: 4.375 kB / 0.8921 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.00379, allocations: 4.375 kB / 0.8922 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.379e-05/0.003813, allocations: 11.92 kB / 0.8922 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.004047, allocations: 260.4 kB / 0.8924 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.004163, allocations: 59.03 kB / 0.8925 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.372e-05/0.004176, allocations: 11.75 kB / 0.8925 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.004189, allocations: 0 / 0.8925 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.004208, allocations: 37.33 kB / 0.8925 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.004208, allocations: 0 / 0.8925 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001141/0.004322, allocations: 53.67 kB / 0.8926 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.004347, allocations: 59.34 kB / 0.8926 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.004415, allocations: 177.9 kB / 0.8928 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.004428, allocations: 29.7 kB / 0.8928 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.004488, allocations: 146.8 kB / 0.893 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.004504, allocations: 11.88 kB / 0.893 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.00453, allocations: 19.38 kB / 0.893 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.004638, allocations: 0.4923 MB / 0.8935 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.004649, allocations: 4 kB / 0.8935 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.121e-05/0.00468, allocations: 49.02 kB / 0.8935 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.454e-05/0.004705, allocations: 19.67 kB / 0.8935 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.004706, allocations: 0 / 0.8935 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.004e-05/0.004756, allocations: 49.64 kB / 0.8936 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.004768, allocations: 7.938 kB / 0.8936 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.004772, allocations: 4.031 kB / 0.8936 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.004782, allocations: 0 / 0.8936 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.832e-05/0.00481, allocations: 4 kB / 0.8936 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.004812, allocations: 0 / 0.8936 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.004835, allocations: 11.98 kB / 0.8936 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.004841, allocations: 4 kB / 0.8936 GB, free: 5.543 MB / 0.8542 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 6.148e-05/0.004902, allocations: 156.5 kB / 0.8938 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.004915, allocations: 4.328 kB / 0.8938 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.004939, allocations: 11.94 kB / 0.8938 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.004941, allocations: 11.98 kB / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.004942, allocations: 0 / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.004945, allocations: 0 / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.506e-05/0.00503, allocations: 105.2 kB / 0.8939 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.005032, allocations: 4 kB / 0.8939 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-05/0.005045, allocations: 7.984 kB / 0.8939 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005046, allocations: 0 / 0.8939 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-06/0.005052, allocations: 4 kB / 0.8939 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.005052, allocations: 0 / 0.8939 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.005054, allocations: 3.938 kB / 0.8939 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.27e-05/0.005136, allocations: 195.8 kB / 0.8941 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.005143, allocations: 11.95 kB / 0.8941 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.005156, allocations: 4 kB / 0.8941 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.241e-05/0.005188, allocations: 7.984 kB / 0.8941 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.005221, allocations: 11.92 kB / 0.8941 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.005223, allocations: 0 / 0.8941 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.005261, allocations: 135.2 kB / 0.8943 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.005261, allocations: 0 / 0.8943 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001334/0.005394, allocations: 8 kB / 0.8943 GB, free: 4.809 MB / 0.8542 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 6.022e-05/0.005455, allocations: 95.25 kB / 0.8944 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.187e-05/0.005516, allocations: 31.67 kB / 0.8944 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.005518, allocations: 0 / 0.8944 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.005824, allocations: 15.62 kB / 0.8944 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.005982, allocations: 11.98 kB / 0.8944 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.006376, allocations: 166.1 kB / 0.8946 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.041e-05/0.006407, allocations: 59.34 kB / 0.8946 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.006432, allocations: 8 kB / 0.8946 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.00649, allocations: 78.19 kB / 0.8947 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of SimCode: time 3.91e-07/0.006491, allocations: 0 / 0.8947 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of Templates: time 0.002157/0.008647, allocations: 0.8179 MB / 0.8955 GB, free: 3.48 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.382550578098744]